绪论 今天操作git合并分支代码时候合并不了,所以记录一下解决方法。 正文 # dev1.0合并分支feature-OA-20190614代码 $ git merge feature-OA-20190614 Already up to date. $ git reset --hard feature-OA-20190614 HEAD is now at bfe6a9b 2019-11-01 针对服务器迁移做出调整 $ git push --force origin dev1.0 (若有什么错误,请留言指正,3Q)