第一步 refs/heads/master master 根据需要修改分支名称 第二步: 可以用前面的 Filter branches by name 如果某个版本报错就用如图 第三步 记住重启一下 相关文章: