Skip to content

Instantly share code, notes, and snippets.

@atc0005
Created March 6, 2020 12:55
Show Gist options
  • Save atc0005/17e8516be3ff77aadd6aef38f1fc30a0 to your computer and use it in GitHub Desktop.
Save atc0005/17e8516be3ff77aadd6aef38f1fc30a0 to your computer and use it in GitHub Desktop.
Configure Git to use SSH for private repo access
git config url."git@github.com-public".insteadOf "https://github.com"
# Credit:
#
# https://medium.com/cloud-native-the-gathering/go-modules-with-private-git-repositories-dfe795068db4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment