CD to the root of current GIT repo2 points·by philipthrasher·vor 14 Jahren·0 commentsfunction groot() { cd $(git rev-parse --show-cdup); }Place this in your .*shrcP.S. If you want to get back to where you were in the git repo: cd -0 commentsPost comment—
Place this in your .*shrc
P.S. If you want to get back to where you were in the git repo: cd -