hint: Updates were rejected because the remote contains work that you do 解决方法

 git pull origin master --allow-unrelated-histories

2.git pull origin master

3.git init

4.git remote add origin ssh://git@git.xxxxxxxxx.git (可忽略)

5.git add .


6.git commit -m 'xxx'


7.git push  origin master

posted @ 2020-05-18 14:41  舞之欣  阅读(1708)  评论(0)    收藏  举报