- Checking for existing SSH keys https://help.github.com/articles/checking-for-existing-ssh-keys/
- Generating a new SSH key and adding it to the ssh-agent: https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it -to-the-ssh-agent/
- Testing your SSH connection: https://help.github.com/articles/testing-your-ssh-connection/
git add git commit -m "" git pull git push
git rm -r -f git commit -m "delete some files" git push origin master
git init git add . git commit -m git remote add origin git remote -v git pull git push origin master
There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> master
Try this: git pull origin master --allow-unrelated-histories link
git branch --set-upstream-to=origin/master master link
-
Linux下使用git命令及github项目: http://blog.csdn.net/five3/article/details/8904635
-
Git Official Help: https://help.github.com/articles/connecting-to-github-with-ssh/