Last Updated: February 25, 2016
·
626
· naomarik

Helpful alias for CDing to git root from a subdirectory.

alias git-root='cd $(git rev-parse --show-cdup)'