问题: git push时报错,如下:
解决:
git log # 选取之前提交的id,如下图 git reset --soft id
注:必须要有--soft,不然选择的id之后的提交的都没了
git stash git stash pop
git push代码时报错:you are not allowed to upload merges
原文:https://www.cnblogs.com/liu-im/p/14649753.html