]> git.phdru.name Git - git-wiki.git/blobdiff - pep-git.txt
git diff HEAD between the tree and the HEAD
[git-wiki.git] / pep-git.txt
index 552901ea2f49487d84ea16af94a3864c9afa9e8d..aa86ef8f8fa0bd59e0394eb8286e7e33a8f8b2de 100644 (file)
@@ -72,7 +72,8 @@ Quick start
 Download and installation
 -------------------------
 
-Unix users: download and install using your package manager.
+Unix users: `download and install using your package manager
+<https://git-scm.com/download/linux>`_.
 
 Microsoft Windows: download `git-for-windows
 <https://github.com/git-for-windows/git/releases>`_ or `msysGit
@@ -659,7 +660,8 @@ To add hunks of patches to the index use ``git add --patch`` (or just
 To see the diff between the index and the last commit (i.e., collected
 patches) use ``git diff --cached``. To see the diff between the
 working tree and the index (i.e., uncollected patches) use just ``git
-diff``.
+diff``. To see the diff between the working tree and the last commit
+(i.e., both collected and uncollected patches) use ``git diff HEAD``.
 
 See `WhatIsTheIndex
 <https://git.wiki.kernel.org/index.php/WhatIsTheIndex>`_ and