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

Re: Git cheat sheet

From
DZDan Zwell <dzwell@gmail.com>
Date
Aug 30, 2007, 23:49 UTC
Message-ID
<46D75797.8010007@gmail.com>
In-Reply-To
<200708290348.02853.zack@kde.org>
Zack Rusin wrote:
Show 5 quoted lines
> Hey, 
> 
> I took a short break from being insanely handsome (which takes a lot of my 
> time - gorgeous doesn't just happen) and based on similar work for Mercurial 
> created a little SVG cheat sheet for Git.
...
Show 6 quoted lines
> The SVG is at:
> http://ktown.kde.org/~zrusin/git/git-cheat-sheet.svg
> Sample png's are here:
> http://ktown.kde.org/~zrusin/git/git-cheat-sheet-medium.png
> http://ktown.kde.org/~zrusin/git/git-cheat-sheet-large.png
> 

I noticed that the cheat sheet listed the options "--theirs", "--ours", and "--base" for git-diff. These aren't in git-diff's manpage. A little grep-fu showed me that these are options of git-diff-files, but shouldn't they be documented with the porcelain, if the porcelain accepts them as options? (I normally use a text editor to view and resolve conflicts, but the presence of these options on a cheat sheet indicates that they are somewhat important.)

Thanks, Dan

Previous: Nguyen Thai Ngoc Duy
Message 12 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.