From charlesreid1

(moved Git to Old Git)
 
No edit summary
Line 1: Line 1:
#REDIRECT [[Old Git]]
=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
 
<pre>
git remote set-url origin git@github.com:user/repo.git
</pre>

Revision as of 17:35, 19 August 2014

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