1- Create a public key to be shared with the GitHub account.
Using GIT shell:
$ ssh-keygen
2- Once your public key is shared with the GitHub account, link the github repo to your local server:
$ git remote add pantheon-ta git@github.com:ta-tests/pantheon-ta.git
Where:
pantheon-ta: is a custom name you give to the repo
git@github.com:ta-tests/pantheon-ta.git: is the link to your github repo
3- To push changes over to the GitHub repo from your local server, just do:
$ git push -u pantheon-ta master
No comments:
Post a Comment