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

Re: Commit to wrong branch. How to fix?

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Sep 5, 2009, 12:51 UTC
Message-ID
<4AA25ED5.1020700@drmicha.warpmail.net>
In-Reply-To
<40aa078e0909041011s7639cccbqa758f17a56c61863@mail.gmail.com>
Erik Faye-Lund venit, vidit, dixit 04.09.2009 19:11:
Show 9 quoted lines
> On Fri, Sep 4, 2009 at 6:19 PM, Michael J
> Gruber<git@drmicha.warpmail.net> wrote:
>> Let's say "geesh" is the branch on which you committed by mistake, and
>> which you have reset.
>>
>> git reflog geesh
> 
> That should be "git reflog show geesh", no?
> 
Yes, sorry. "show" is default, but only without a branch arg :|
Michael
Previous: Erik Faye-LundNext: Howard Miller
Message 4 of 7 in “Commit to wrong branch. How to fix?”
  1. Howard MillerSep 4, 2009
  2. Michael J GruberSep 4, 2009
  3. Erik Faye-LundSep 4, 2009
  4. Michael J GruberSep 5, 2009
  5. Howard MillerSep 4, 2009
  6. Howard MillerSep 4, 2009
  7. Jakub NarebskiSep 4, 2009

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.