Re: git rebase likes to fail miserably on Mac OS X Lion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joshua Jensen <jjensen@xxxxxxxxxxxxxxxxx> wrote:

> On 4 different Mac OS X Lion machines, rebasing my commits (I currently
> have 14 of them) yields either of the following _consistently_ across
> varied repositories:

As far as I can tell, these are two completely unrelated problems.

>      fatal: Unable to create 
> '/Users/joshua/src/project/.git/index.lock': File exists.

In my experience, this is caused by Xcode 4's builtin git support. It
happens when you have your project open in Xcode 4 while you try to
rebase it.  It doesn't seem to be possible to turn off Xcode's git
support (I never use it), so the only workaround seems to be to close
the Xcode project before you rebase.

>      error: Your local changes to the following files would be 
> overwritten by merge:

As a workaround for this one, try

  git config --global core.trustctime false

This helps for me, but I have no idea what the implications are or why
it would be necessary.


(Out of town until Feb 5; don't expect timely replies.)


-- 
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]