Search code examples
gitversion-controlxcode4osx-lion

Git project is not recognized by xcode


I have a project that usually works with Xcode 4, however since upgrading to Lion and Xcode 4.1 it doesn't seem that I can commit my changes anymore. I have git setup in my project folder. I've tried to commit using terminal, but in xcode I only have the "Unable to load revisions" message.

In File -> source control, many things are grayed out as well.

Does anyone know how to fix this?

Just to help, I've tried:

  • commiting form terminal
  • making sure git installed in /usr/local/git
  • clean install
  • remove project from organizer and add it back again

Solution

  • I'm not sure what I did, but after restarting my computer it seems to be working again... So if you guys are having some problems try to restart your computer first :)