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

Re: Message from git reset: confusing?

From
John Tapsell <johnflux@gmail.com>
Date
Aug 5, 2009, 18:07 UTC
Message-ID
<43d8ce650908051107o5df3a780j7481bc364ae3062d@mail.gmail.com>
In-Reply-To
<32541b130908051042x5308e8fte7b3ead6bf1f24ee@mail.gmail.com>
> Even if people don't know what "M" means on day 1 (although hopefully
> they don't need "git reset" on day 1), at least it doesn't look like
> an error message.

Actually for newbies, git reset is pretty much the first thing they learn to try to undo the mess that they created.

Almost the very first thing a newbie to git does is something like:

$ git checkout experimental_branch <modify file> $ git commit .. (what do you mean I've committed to a detached head? why is everything going wrong? what's happening!!)

$ git reset
Previous: Avery PennarunNext: Sverre Rabbelier
Message 4 of 20 in “Message from git reset: confusing?”
  1. Matthieu MoyAug 5, 2009
  2. Junio C HamanoAug 5, 2009
  3. Avery PennarunAug 5, 2009
  4. John TapsellAug 5, 2009
  5. Sverre RabbelierAug 5, 2009
  6. Matthieu MoyAug 6, 2009
  7. Junio C HamanoAug 6, 2009
  8. 1/2 Rename REFRESH_SAY_CHANGED to REFRESH_IN_PORCELAIN.Matthieu Moy, Aug 7, 2009
  9. 2/2 reset: make the output more user-friendly.Matthieu Moy, Aug 7, 2009
  10. Junio C HamanoAug 7, 2009
  11. Matthieu MoyAug 8, 2009
  12. Matthieu MoyAug 17, 2009
  13. Junio C HamanoAug 17, 2009
  14. 1/2 Rename REFRESH_SAY_CHANGED to REFRESH_IN_PORCELAIN.Matthieu Moy, Aug 21, 2009
  15. 2/2 reset: make the output more user-friendly.Matthieu Moy, Aug 21, 2009
  16. Junio C HamanoAug 22, 2009
  17. Matthieu MoyAug 22, 2009
  18. Junio C HamanoAug 23, 2009
  19. Matthieu MoyAug 23, 2009
  20. Reece DunnAug 23, 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.