Skip to content

Instantly share code, notes, and snippets.

@Daniel-M
Created April 6, 2019 02:24
Show Gist options
  • Save Daniel-M/9ecf6051b76144c9c970dd7997f98145 to your computer and use it in GitHub Desktop.
Save Daniel-M/9ecf6051b76144c9c970dd7997f98145 to your computer and use it in GitHub Desktop.
Configure git to always use ssh
git config --global url.git@github.com:.insteadOf https://github.com/
git config --global url.git@gitlab.com:.insteadOf https://gitlab.com/
git config --global url.git@bitbucket.org:.insteadOf https://bitbucket.org/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment