Skip to content

Instantly share code, notes, and snippets.

@burningTyger
Created February 18, 2012 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burningTyger/1858524 to your computer and use it in GitHub Desktop.
Save burningTyger/1858524 to your computer and use it in GitHub Desktop.
Git issue after replacing XCode with Command line Tools

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment