Git: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
= | =Routine Git Operations= | ||
==Step 1: Set up Github SSH Keys== | ==Stop Github Asking for Username and Password== | ||
===Step 1: Set up Github SSH Keys=== | |||
https://help.github.com/articles/generating-ssh-keys | https://help.github.com/articles/generating-ssh-keys | ||
==Step 2: Switch Repos from HTTPS to SSH== | ===Step 2: Switch Repos from HTTPS to SSH=== | ||
http://stackoverflow.com/questions/10126381/why-does-github-keep-asking-me-for-repo-credentials | http://stackoverflow.com/questions/10126381/why-does-github-keep-asking-me-for-repo-credentials | ||
Revision as of 17:35, 19 August 2014
Routine Git Operations
Stop Github Asking for Username and Password
Step 1: Set up Github SSH Keys
https://help.github.com/articles/generating-ssh-keys
Step 2: Switch Repos from HTTPS to SSH
http://stackoverflow.com/questions/10126381/why-does-github-keep-asking-me-for-repo-credentials
git remote set-url origin git@github.com:user/repo.git