I want to quickly test my changes in my user .gitconfig
file without closing and reopening the console. Is there a way to load it again, much like source .bashrc
would reload the bash config ?
EDIT : source ~/.gitconfig
didn't work, not that this surprises me, but just saying.
Git automatically reads the .gitconfig
file each time you run a Git command. Therefore, any changes you make to the file will take effect immediately without needing to reload or restart anything. Just save your changes, and the next time you run a Git command, the updated configuration will be used.