由于在github建立倉(cāng)庫(kù)時(shí)提前建立了readme文件
導(dǎo)致本地提交時(shí)( git push -u origin master)報(bào)錯(cuò)?
?error: failed to push some refs to 'git@github.com:xxx/xxx.git'
解決方法git pull --rebase origin master指令從源倉(cāng)庫(kù)中更新 readme文件
之后 git push -u origin master OK
參考博客
https://www.cnblogs.com/zlcxbb/p/6407451.html
2019/3/11?