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

Re: Git cheat sheet

From
Karl Hasselström <kha@treskal.com>
Date
Aug 29, 2007, 10:04 UTC
Message-ID
<20070829100407.GA28853@diana.vm.bytemark.co.uk>
In-Reply-To
<7vfy22squc.fsf@gitster.siamese.dyndns.org>
On 2007-08-29 01:11:07 -0700, Junio C Hamano wrote:
> - "git reset --hard HEAD"; you do not have to write HEAD there.

There should also probably be a warning about any local changes being irretrievably lost. (The existing warning is kind of vague.)

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Matthieu MoyNext: Zack Rusin
Message 5 of 12 in “Git cheat sheet”
  1. Zack RusinAug 29, 2007
  2. Rene HermanAug 29, 2007
  3. Junio C HamanoAug 29, 2007
  4. Matthieu MoyAug 29, 2007
  5. Karl HasselströmAug 29, 2007
  6. Zack RusinAug 29, 2007
  7. Dan ChokolaAug 29, 2007
  8. Matthieu MoyAug 29, 2007
  9. Bernt HansenAug 29, 2007
  10. Bernt HansenAug 30, 2007
  11. Nguyen Thai Ngoc DuyAug 29, 2007
  12. Dan ZwellAug 30, 2007

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.