xjinza
6/20/2018 - 1:53 AM

Git push rejected “non-fast-forward”

Git push rejected “non-fast-forward”

之前把v1-1778分支删除,然后push的时候报错,“non-fast-forward”
git fetch origin
git rebase v1-1778 //也是把 v1-1778分支合并到当前分支
git push origin v1-1778
参考:https://stackoverflow.com/questions/20467179/git-push-rejected-non-fast-forward