Helpful alias for CDing to git root from a subdirectory.
alias git-root='cd $(git rev-parse --show-cdup)'
Written by Omar Hughes
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#