git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree Push -v --tags Origin refs/heads/master:refs/heads/master Pushing to https://user@github.com/repo.git To https://user@github.com/repo.git = [up to date] master -> master ... ! [rejected] example_tag -> example_tag (already exists) updating local tracking ref 'refs/remotes/Origin/master' error: failed to Push some refs to 'https://user@github.com/repo.git' hint: Updates were rejected because the tag already exists in the remote. Completed with errors, see above
こんなのが出るときの対処方法。
プッシュ時の「すべてのタグをプッシュ」のチェックを外せばプッシュできる。
が、根本解決ではない気がする。
そもそも、なんでこんな状況が発生するのかわかってないなー。
example_tagが既にあるっているのはわかるんだけど、なんでこんな状況になるんだ?
コメントを残す