Last Updated: February 25, 2016
·
624
· naomarik

Helpful alias for CDing to git root from a subdirectory.

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