Skip to content

Instantly share code, notes, and snippets.

@johnsaltarelli
Created February 16, 2020 01:09
Show Gist options
  • Save johnsaltarelli/93766922d7d72fad2941eda0ee9692d8 to your computer and use it in GitHub Desktop.
Save johnsaltarelli/93766922d7d72fad2941eda0ee9692d8 to your computer and use it in GitHub Desktop.
Force GitHub via SSH instead of HTTPS
# Forces all Git connections to use SSH instead of HTTPS when accessing GitHub.com
git config --global --add url."[email protected]:".insteadOf "https://github.com/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment