Update Global Git Config

Spent about 8 hours between last night and this morning trying to setup my GPG keys for Github to sign my git commits but I ended up just breaking and fixing my global git configurations. It hadn’t at all crossed my mind to try to edit the configuration directly or try to view a list of all current global configurations.

So if you ever find yourself in a similar situation and you want to see all global configurations or edit your global git configs you can use the commands below.

View a list of all global git configurations:git config --global --list
Edit your global configurations: git config --edit --global

Author: Denzil Doyle

Full Stack Dev with a passion for UI/UX Designer. Entrepreneur. Problem solver. Podcast addict. Hobbyist Photographer. Mad Scientist. Occasional comedian.

Leave a Reply

Your email address will not be published. Required fields are marked *