• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 4.2.1 Git can't commit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Xcode 4.2.1 Git can't commit
      • From: Bill Cheeseman <email@hidden>
References: 
 >Xcode 4.2.1 Git can't commit (From: Bill Cheeseman <email@hidden>)
 >Re: Xcode 4.2.1 Git can't commit (From: Phillip Hutchings <email@hidden>)

  • Prev by Date: Re: [SOLVED] Debugging ARC app on Snow Leopard
  • Next by Date: Re: Xcode 4.2.1 Git can't commit
  • Previous by thread: Re: Xcode 4.2.1 Git can't commit
  • Next by thread: Re: Xcode 4.2.1 Git can't commit
  • Index(es):
    • Date
    • Thread