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: Marcus Karlsson <email@hidden>
- Date: Tue, 29 Nov 2011 15:34:50 +0100
--On November 28, 2011 11:51:43 AM +1300 Phillip Hutchings
<email@hidden> wrote:
(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.
An even quicker way is to run git add -u.
Marcus
_______________________________________________
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