Pull后产生多余的log(Merge branch 'master' of ...)

第一步:

       git reset --hard 73d0d18425ae55195068d39b3304303ac43b521a

第二步:

       git push -f origin feature/PAC_1-1090(分支名)

 

73d0d18425ae55195068d39b3304303ac43b521a是要回退到的版本号;

git push -f是一个需要谨慎的操作,它是将本地历史覆盖到远端仓库的行为;

原文地址:https://www.cnblogs.com/Focus-Study/p/Study_Git2.html