1
0
alefir 8 жил өмнө
parent
commit
b71c9cdcf3
1 өөрчлөгдсөн 19 нэмэгдсэн , 0 устгасан
  1. 19 0
      pages/common/git-show.md

+ 19 - 0
pages/common/git-show.md

@@ -0,0 +1,19 @@
+# git show
+
+> Show various types of git objects(commits, tags etc.).
+
+- Show changes made in the latest commit:
+
+`git show`
+
+- Show changes made in a given commit:
+
+`git show {{commit}}`
+
+- Show changes made in the commit with a given tag:
+
+`git show {{tag}}`
+
+- Show the changes made n commits ago on a branch:
+
+`git show {{branch}}~{{n}}`