Re: Xcode 4.2.1 Git can't commit
Re: Xcode 4.2.1 Git can't commit
- Subject: Re: Xcode 4.2.1 Git can't commit
- From: Phillip Hutchings <email@hidden>
- Date: Mon, 28 Nov 2011 11:51:43 +1300
> What can I do to resolve this issue? After reading the documentation, I see that I apparently was supposed to remember to mark the old-style Help folder as no longer part of the repository and, I guess, keep it in the project folder at least until committing changes. But it's too late for that now.
It's never too late. Xcode isn't the best Git interface yet, so there are always options.
> (This seems very surprising to me. Shouldn't Git just assume that I intended to remove a missing item, maybe with a warning? Otherwise, I'm just stuck, and worried that if I do the wrong thing I'll lose all my source.)
No, Git never assumes anything, every move, add, and delete has to be manually staged. The easiest way in my experience is just to launch git gui via the command line and stage the deletions. You can also do this via the command line by running git status and then git rm over each path you see as deleted, but git gui is the easiest.
Remember that git is a repository format, not just a communications API like SVN, so all git clients work on a given repository.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden