4 ms·
This allows you to do it from one .gitconfig so that it automagically changes when you're in a work repo as opposed to a personal one. My source lives in a dir
by rswail 5y ago
This allows you to do it from one .gitconfig so that it automagically changes when you're in a work repo as opposed to a personal one.
My source lives in a directory called ~/src, bunch of different repos. My work source repos live in ~/src/company so this way, I point the global git config there when in a repo under that directory.