Skip to content

Instantly share code, notes, and snippets.

@vraravam
Last active December 18, 2024 11:08
Show Gist options
  • Save vraravam/e9676759db46950e1fd817e49e513394 to your computer and use it in GitHub Desktop.
Save vraravam/e9676759db46950e1fd817e49e513394 to your computer and use it in GitHub Desktop.
~/.gitconfig-template.inc
# file location: ${HOME}/.gitconfig-template.inc
[user]
name = <your-name>
email = <your-email>
# For more advanced usage using seamless url-rewriting (which mandates configuring ~/.ssh/config correctly), please see https://medium.com/@biradarav.100/manage-multiple-git-github-gitlab-accounts-efficiently-on-a-single-machine-2ecde70f522f
# [url "git@github-personal:"]
# insteadOf = [email protected]:
# insteadOf = https://github.com/
# [url "git@gitlab-personal:"]
# insteadOf = [email protected]:
# insteadOf = https://gitlab.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment