3 ms·
I often use this to get to the root of a git repo. Put this in your ~/.bashrc alias r='cd $(git rev-parse --show-toplevel)'
by francis-io 7y ago
I often use this to get to the root of a git repo. Put this in your ~/.bashrc
alias r='cd $(git rev-parse --show-toplevel)'