git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Corruption of branch?

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 14, 2015, 20:42 UTC
Message-ID
<xmqqr3ioiwyq.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1450125640.16044.4.camel@kaarsemaker.net>
Dennis Kaarsemaker <dennis@kaarsemaker.net> writes:
> 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'
;-)  That would be my guess.
Previous: Dennis KaarsemakerNext: Thomas Nyberg
Message 9 of 10 in “Corruption of branch?”
  1. Thomas NybergDec 14, 2015
  2. Stefan BellerDec 14, 2015
  3. Thomas NybergDec 14, 2015
  4. David TurnerDec 14, 2015
  5. Thomas NybergDec 14, 2015
  6. Dennis KaarsemakerDec 14, 2015
  7. Thomas NybergDec 14, 2015
  8. Dennis KaarsemakerDec 14, 2015
  9. Junio C HamanoDec 14, 2015
  10. Thomas NybergDec 14, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.