Re: Corruption of branch?
- From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
- Date
- Dec 14, 2015, 20:40 UTC
- Message-ID
- <1450125640.16044.4.camel@kaarsemaker.net>
- In-Reply-To
- <566F277F.4070101@gmail.com>
On ma, 2015-12-14 at 15:33 -0500, Thomas Nyberg wrote:
Show 13 quoted lines
> What exactly are you looking for? Here's the results of the following > command: > > $ git for-each-ref | grep frus > 1750cba5a94b3fe6041aaf49de430a558a3b9bc8 commit > refs/heads/frus_body_cleaning > 3a1dbe48299f6eda1cc4b69cab35284c0f0355eb commit refs/remotes/o > rigin/frus > 1750cba5a94b3fe6041aaf49de430a558a3b9bc8 commit > refs/remotes/origin/frus_body_cleaning > > Sorry if this isn't what you're looking for. I'm actually not very > familiar with these different internal git commands...
This is what I was looking for. Unfortunately it doesn't show any of the smoking guns I had hoped for.
That leaves only one option: you also have a file or directory named 'frus' in the root of your repository. In this case 'git checkout frus' does the same as 'git checkout -- frus' instead of DWIM'ing 'git checkout frus' to 'git checkout -b frus origin/frus'
-- Dennis Kaarsemaker www.kaarsemaker.net