sourceTree push 出现 Updates were rejected because the tag already exists in the remote 错误


因为本地和远程的标签都已经存在,而导致push失败

1. push的时候不选择推送标签,这个方法有用但是治标不治本

2.执行命令 git pull --tags -f ,这个命令可以覆盖本地存在的标签冲突,再push就不会报错了

Git