Last active
December 7, 2016 21:07
-
-
Save zimdo/414a28e1b5693db60636551c4fbc75f1 to your computer and use it in GitHub Desktop.
go get github.com/my/private_repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GITHUB_TOKEN="MY_TOKEN" | |
git config --global url."https://${GITHUB_TOKEN}:[email protected]/".insteadOf "https://github.com/" | |
go get github.com/my/private_repository |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment