3 ms·
I like my alias alias cd-gitroot=cd "$(git rev-parse --show-toplevel)"
by moritzwarhier 3y ago
I like my alias
alias cd-gitroot=cd "$(git rev-parse --show-toplevel)"
- jerpint 3y agoI use a variation of this to enable my conda environments - I always name the conda env the same as the top level git folder and can then quickly enable my env with an alias