Add alias to cd to git toplevel
This commit is contained in:
parent
a7434463b3
commit
e61efefed7
@ -1,3 +1,4 @@
|
|||||||
## git
|
## git
|
||||||
alias git-yolo='git commit -am "`curl -s http://whatthecommit.com/index.txt`"'
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user