Git 提示 error failed to push some refs to git@github.com

Git About 228 words

错误信息

error: failed to push some refs to 'git@github.com:....." Updates were rejected because the remote contains work that you do not have locally.

解决方法

本地和远程的文件应该合并后才能上传本地的新文件

git pull origin master
git push -u origin master
Views: 3,321 · Posted: 2019-03-25

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh