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

Re: Git cheat sheet

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Aug 29, 2007, 08:32 UTC
Message-ID
<vpqk5repwpz.fsf@bauges.imag.fr>
In-Reply-To
<7vfy22squc.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
> Zack Rusin <zack@kde.org> writes:
>
>> http://ktown.kde.org/~zrusin/git/git-cheat-sheet.svg
>
> Nice drawing 
True!
> and no typo.

Except for the blue closing parenthesis for (git-config --help), while the opening one is black ;-).

> + "git commit" is not about publishing at all.

It does not publish in itself, but it's mostly necessary in order to publish. For a short summary, I think it's OK to have it in the publishing section, as long as it's just before "format-patch" and "push".

otherwise, about the suggested flow on the top right, I'd move "commit" to the left. Most of the time, "commit" comes before pull or fetch. It normally comes before "revert", but after "reset" (revert creates a new commit, you want to do it from a clean tree, so either reset or commit before).

-- 
Matthieu
Previous: Junio C HamanoNext: Karl Hasselström
Message 4 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.