GitHub ssh

From RHS Wiki
Revision as of 04:12, 7 April 2015 by Rafahsolis (talk | contribs) (Protected "GitHub ssh" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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