Browse Source

git reflog: add page (#2042)

thescalaguy 7 years ago
parent
commit
de9412b54e
1 changed files with 11 additions and 0 deletions
  1. 11 0
      pages/common/git-reflog.md

+ 11 - 0
pages/common/git-reflog.md

@@ -0,0 +1,11 @@
+# git reflog
+
+> Show when the reference logs were updated in local repository.
+
+- View reflog:
+
+`git reflog`
+
+- View 5 latest entries in reflog:
+
+`git reflog -n {{5}}`