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://[email protected] (可忽略)

5.git add .


6.git commit -m 'xxx'


7.git push  origin master

猜你喜欢

转载自www.cnblogs.com/weballen/p/12910469.html
今日推荐