From: demerphq Date: Tue, 16 Nov 2010 10:38:44 GMT Subject: Re: Bogus error: Untracked working tree file '....' would be overwritten by merge. Aborting Message-ID: In-Reply-To: On 16 November 2010 11:26, demerphq wrote: > The error in the subject line is generated if one has a git repo > checked out to a commit that adds a new file and one does something > like: > > git reset HEAD^ > > and then a merge operation that involves going forward onto or past HEAD. In fact there are more operations where this can happen. A failed/aborted rebase. A failed/aborted merge. etc. All of them, so far in my experience, resulting in this bogus error about overwriting a file with itself. cheers, Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"