3 ms·
I recently learned, that you're able to switch the git user dynamically based on the folder the repository resides in, by using the includeif directive in your
by zubspace 5y ago
I recently learned, that you're able to switch the git user dynamically based on the folder the repository resides in, by using the includeif directive in your gitconfig. [1]
This is very useful, if you have separate accounts, for example a business and a personal account.
[1] https://gist.github.com/Icaruk/f024a18093dc28ec1588cfb90efc32f7 https://gist.github.com/Icaruk/f024a18093dc28ec1588cfb90efc3...
- t0ps0il 5y agoI also recently learned this... just now. Thanks for sharing.