github初学者之如何使用SSH key

151 阅读1分钟

Generate ssh key:

A pair of keys are generated:

log on github, settings->SSH keys->Add SSH key:

add id_rsa.pub:

once done, it looks like below:

create a new repository:

Then you could push your local git repository to github:

Then refresh in github, we should see the latest version is now available in github:

By clicking the “32 commits” we could have a detail review about each commit in github:

Once we have some new task done in local repository, we could use git push origin master to push the change from local master branch to github:

How to clone a remote repository to local

要获取更多Jerry的原创文章,请关注公众号"汪子熙":