mxcl/homebrew — Issue #10301: solution to git error after Xcode replacement with command line tools
Author: burningTyger
Created: 2012-02-18 09:53:03+00:00
State: open

After I uninstalled XCode via

sudo /Developer/Library/uninstall-devtools --mode=all

and reinstalled the new command line tools from Apple I had a weird git error:

fatal: You don't exist. Go away!

whenever I tried to connect with a remote repository like Github or Bitbucket.

The solution was simple, reinstall git from Homebrew, somehow the uninstall removed files that were not supposed to be removed by it.