git.rst
changeset 2126 09e2e50d02aa
parent 2124 3afe57643e44
child 2152 a48ba30d5b20
--- a/git.rst	Sat Apr 15 09:41:57 2017 +0300
+++ b/git.rst	Sun Apr 23 14:05:35 2017 +0300
@@ -197,6 +197,23 @@
   $ git ls-remote
   $ git ls-remote $upstream
 
+View git commits
+================
+
+Review specific commit with::
+
+  $ git show $REV
+  $ git diff $REV^ $REV
+
+Review difference between commits::
+
+  $ git $REV1 $REV2
+
+Review history with diffs::
+
+  $ git log -p
+  $ git log -p $FROM_REV
+
 View unpublished git commits / analog of git 'hg outgoing'
 ==========================================================