Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 748
Enrico Susatyo Avatar asked Sep 13 '26 12:09

Enrico Susatyo


2 Answers

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 :)

like image 89
Enrico Susatyo Avatar answered Sep 15 '26 11:09

Enrico Susatyo


You might want to try and "Commit" from the source code menu. I just saw this issue and got a sensible error message after selecting it. (XCode was choking on my .gitconfig file).

like image 42
Dale Thatcher Avatar answered Sep 15 '26 11:09

Dale Thatcher



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!