diff --git a/git-tricks.md b/git-tricks.md index 5905a1f64..16874e4e8 100644 --- a/git-tricks.md +++ b/git-tricks.md @@ -85,6 +85,9 @@ Misc # show single commit info git log -1 f5a960b5 + # Go back up to root directory + cd "$(git rev-parse --show-top-level)" + ## Short log $ git shortlog