Difference between revisions of "GitHub ssh"

From RHS Wiki
Jump to navigation Jump to search
(Created page with "In order to push to a gitHub repository you must add an ssh key to the gitHub account:<br /> [https://github.com/settings/ssh here]<br /> and you must use the ssh url as origi...")
 
m (Protected "GitHub ssh" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(No difference)

Latest revision as of 04:12, 7 April 2015

In order to push to a gitHub repository you must add an ssh key to the gitHub account:
here
and you must use the ssh url as origin, this can be done by typing:

git remote set-url origin git@github.com:<Username>/<Project>.git