git 提示错误:(non-fast-forward)

1 git pull

2  

git pull origin simpleDemo --allow-unrelated-histories

git pull origin simpleDemo

4 ,提示提交,执行下面,再执行第3

git commit -m "update"

5 改动一下,接下里就按照正常流程提交修改。

猜你喜欢

转载自www.cnblogs.com/luoa/p/10544799.html