Created
July 8, 2011 21:12
-
-
Save technoweenie/1072829 to your computer and use it in GitHub Desktop.
.netrc file so you can push/pull to https git repos without entering your creds all the time
This file contains 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
machine github.com | |
login technoweenie | |
password SECRET | |
machine api.github.com | |
login technoweenie | |
password SECRET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instructions for GitLab folks, as this was one of my first results of Googling "GitLab .netrc":
That enables:
docker login registry.gitlab.com
(of course your <PERSONAL_ACCESS_TOKEN> needs the correct capabilities)
Also, during CI: