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

Re: Potential git bug

From
NHNick Hunt <nhunt11@gmail.com>
Date
Mar 19, 2018, 20:14 UTC
Message-ID
<CAJ-HmiZtHZ0qR9KdZ5mxzok18Ad6R8zLd3xwrvt+GQHu-qDrGQ@mail.gmail.com>
In-Reply-To
<CAJ-HmiZFpGbe_kLUFoOibMgc2dtf=n5VXb=ReZjN2wNsja1Lrw@mail.gmail.com>

oh, wait, switching branches didn't vaporize my changes, it auto-committed them. which is still weird and possibly a bug? Nick Hunt nhunt11@gmail.com 404-988-1845

On Mon, Mar 19, 2018 at 3:13 PM, Nick Hunt <nhunt11@gmail.com> wrote:
Show 12 quoted lines
> i committed my changes, then ran
> git reset --soft HEAD^
> at this point everything is fine
> then i switched branches, and all of my changes vaporized into thin
> air. uhhh, is this supposed to happen?
>
> anyway, thank god intellij saves my work for me as i go, so i didn't
> have to re-write all my code.
>
> my bash/zsh commands are attached.
>
> thanks for the help! :)
Previous: Nick HuntNext: Jeff King
Message 2 of 3 in “Potential git bug”
  1. Nick HuntMar 19, 2018
  2. Nick HuntMar 19, 2018
  3. Jeff KingMar 19, 2018

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.