Merge pull request #98 from bezhermoso/git-tricks

Git trick: Go back up to root directory
This commit is contained in:
Rico Sta. Cruz 2017-10-21 03:51:06 +08:00 committed by GitHub
commit 060d117123
1 changed files with 3 additions and 0 deletions

View File

@ -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