Simple shell utility to jump back to a Git repo's project root
Clone this repository. In your .bashrc
(or equivalent) file:
# Import the `jump-to-git-root` function:
source "~/path/to/this/repo/jump-to-git-root.sh"
# Optional: make a short alias to it:
alias gr=jump-to-git-root