diff --git a/pages/common/git-reflog.md b/pages/common/git-reflog.md new file mode 100644 index 0000000000..ece246637f --- /dev/null +++ b/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}}`