mac sourcetree push分支选中所有tag的时候报错

错误信息:

。。。。。。。

! [rejected] 573_0811_stable -> 573_0811_stable (already exists)
updating local tracking ref 'refs/remotes/origin/next'
error: failed to push some refs to 'git@10.10.1.18:hi/hello.git'
hint: Updates were rejected because the tag already exists in the remote.
Completed with errors, see above

解决方法:

You should also be able to solve this in git bash (click on "Terminal" button in the Source Tree UI). Type:

git pull --tags
原文地址:https://www.cnblogs.com/kissfu/p/7374681.html