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

Mistake in git-reset documentation

From
BPBojan Petrović <bojan85@gmail.com>
Date
Oct 27, 2012, 11:21 UTC
Message-ID
<CABPGWqr7=Rq4qS7yP09t2vMBUJ98NFTSmHUUgMzUQ5=WVrjfqg@mail.gmail.com>

None of the three forms of git-reset accept: "git reset" which is the equivalent of "git reset -mixed".

Square brackets should be used instead of parentheses for "--soft | --mixed | --hard | --merge | --keep".

Bojan
Next: Krzysztof Mazur
Message 1 of 8 in “Mistake in git-reset documentation”
  1. Bojan PetrovićOct 27, 2012
  2. Krzysztof MazurOct 28, 2012
  3. Bojan PetrovićOct 28, 2012
  4. Jeff KingOct 28, 2012
  5. Andreas SchwabOct 28, 2012
  6. Jeff KingOct 28, 2012
  7. Krzysztof MazurOct 28, 2012
  8. Jeff KingOct 29, 2012

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.