git 替换分支强push

1,右键show log

2,找到remotes的master分支

3,点到要同步的提交,右键 reset local to this

原文地址:https://www.cnblogs.com/deepalley/p/12216864.html