CD to the root of current GIT repo
https://news.ycombinator.com/item?id=4795323function groot() { cd $(git rev-parse --show-cdup); }
Place this in your .*shrc
P.S. If you want to get back to where you were in the git repo: cd -
function groot() { cd $(git rev-parse --show-cdup); }
Place this in your .*shrc
P.S. If you want to get back to where you were in the git repo: cd -