git push --tags pushing a bad tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ GIT_TRACE=1 git push origin 'refs/tags/*' | |
| 19:31:17.791269 git.c:346 trace: built-in: git 'push' 'origin' 'refs/tags/*' | |
| 19:31:17.793654 run-command.c:351 trace: run_command: 'ssh' '-p' '7999' 'git@some-git-repo.com' 'git-receive-pack '\''slavirepo.git'\''' | |
| To ssh://git@some-git-repo.com:7999/slavirepo.git | |
| ! [rejected] 1.21.0 -> 1.21.0 (already exists) | |
| error: failed to push some refs to 'ssh://git@some-git-repo.com:7999/slavirepo.git' | |
| hint: Updates were rejected because the tag already exists in the remote. | |
| user@(research)[cn45] /scratch/user/user/tmp1jFRX5/tmpZp5Xbc/5/root | |
| $ ls -lah .git/refs/tags/ | |
| total 4.0K | |
| drwxr-xr-x 2 user is 3 Oct 26 19:00 . | |
| drwxr-xr-x 5 user is 5 Oct 26 18:55 .. | |
| -rw-r--r-- 1 user is 41 Oct 26 19:00 1.22.0 | |
| user@(research)[cn45] /scratch/user/user/tmp1jFRX5/tmpZp5Xbc/5/root | |
| $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment