Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Reset GitHub repo URLs between HTTPS and SSH
git config remote.origin.url git@github.com/{USERNAME}/{REPONAME}.git
git config remote.origin.url https://{USERNAME}:{PASSWORD}@github.com/{USERNAME}/{REPONAME}.git
git config remote.origin.url https://{USERNAME}@github.com/{USERNAME}/{REPONAME}.git
Sourced from http://superuser.com/questions/199507/how-do-i-ensure-git-doesnt-ask-me-for-my-github-username-and-password
@mcpherson

This comment has been minimized.

Copy link
Owner Author

mcpherson commented Feb 16, 2016

How did it get that crappy gist:2917... name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.