Add alias to cd to git toplevel

This commit is contained in:
Adam Goldsmith 2019-07-30 11:27:55 -04:00
parent a7434463b3
commit e61efefed7

View File

@ -1,3 +1,4 @@
## git
alias git-yolo='git commit -am "`curl -s http://whatthecommit.com/index.txt`"'
alias diff='git diff --no-index'
alias diff='git diff --no-index'
alias gcdr='cd "$(git rev-parse --show-toplevel)"' # cd to top level