欢迎来到cool的博客
7

Music box

Click to Start

点击头像播放音乐
新博客链接

bug: error: failed to push some refs to .....

If the GitHub repo has seen new commits pushed to it, while you were working locally, I would advice for:

git pull --rebase
git push

The full syntax is:  用这个命令解决

git pull --rebase origin master         
git push origin master

That way, you would replay (the --rebase part) your local commits on top of the newly updated origin/master (or origin/yourBranchgit pull origin yourBranch).

返回列表