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

Re: Core dump on commit

From
MVMarko Vukovic <amasniko@yahoo.com>
Date
Aug 15, 2011, 16:09 UTC
Message-ID
<loom.20110815T180732-236@post.gmane.org>
In-Reply-To
<CACsJy8BBvgJauL4a9MxWAXGN-_qiAKprt15hizyBp0O9knwKrg@mail.gmail.com>
Nguyen Thai Ngoc Duy <pclouds <at> gmail.com> writes:
Show 11 quoted lines
> I should have written "git reset --soft 1b9a976133", which resets HEAD
> ref back to (assuming) good commit. See [1] for more information. I
> think for some reason, eGit put a tag object to HEAD, while it should
> be a commit object. By resetting it back to the commit that the tag
> points to, you may be able to commit again.
> 
> No history would be lost. Also if you use --soft, index should be
> untouched. As always, back up your repository (copy the whole
> directory, including .git) before doing anything.
> 
> [1] http://www.kernel.org/pub/software/scm/git/docs/git-reset.html
Thank you very much, I was able to commit after the reset.
I shall remember never to use eGit for tagging in the future!
Previous: Nguyen Thai Ngoc DuyNext: Carlos Martín Nieto
Message 7 of 10 in “Core dump on commit”
  1. Marko VukovicAug 15, 2011
  2. Michael WittenAug 15, 2011
  3. Marko VukovicAug 15, 2011
  4. Nguyen Thai Ngoc DuyAug 15, 2011
  5. Marko VukovicAug 15, 2011
  6. Nguyen Thai Ngoc DuyAug 15, 2011
  7. Marko VukovicAug 15, 2011
  8. Carlos Martín NietoAug 15, 2011
  9. Nguyen Thai Ngoc DuyAug 15, 2011
  10. Marko VukovicAug 15, 2011

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.