Homebrew fatal: needed a single revision (MacOs Sierra)

I had the same problem after upgrading to Sierra. In addition to brew –prefix, which displays Homebrew’s install path, there’s also brew –repository, which displays where it’s .git directory is located. man brew says that claims that “for standard installs, the prefix and repository are the same directory”. Either the man page is out of … Read more

Git-SVN: Update Git repo from centralized SVN server

Best way to work on a Subversion Repository via Git: git svn init -s https://svn.repo/app/ myrepo assuming that under https://svn.repo/app/ the repo contains the standard /trunk, branches and tags subdirectories Do a git svn fetch in myrepo until no more commits are fetched (may take quite some time and sometimes aborts under Windows). Checkout a … Read more

Configure GPG for Git on Windows

Update Oct. 2018, as commented below by PHPirate: λ git –version git version 2.19.1.windows.1 λ gpg –version gpg (GnuPG) 2.2.9-unknown libgcrypt 1.8.3 Copyright (C) 2018 Free Software Foundation, Inc. No trace of that update in git-for-windows/git/releases Original answer (2017): By default, Git for Windows includes a gpg1, not gpg2 vonc@bvonc MINGW64 ~/.ssh $ gpg –version … Read more

How to unversion an entire folder?

If the folder is the top level of a git repository, and you actually want to completely remove the entire git repo associated with the folder, then simply delete the (hidden) .git directory from the folder: cd foldername rm -r .git If the folder is a subdirectory of a git repository, then gautier’s method is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)