cannot push tags

Issue #5 duplicate
Zoltan Papp created an issue

No tags can be pushed when there is at least one merge commit with the same parents. The commit is already in the repository, all the new commits are according to the restrictions set by the hook, but pushing tags is rejected.

$  # disable hook
$  git tag v0.1.disabled
$  git push 
Everything up-to-date
$  git push --tags
Total 0 (delta 0), reused 0 (delta 0)
To ssh:// xxxxx /testrepo.git
 * [new tag]         v0.1.disabled -> v0.1.disabled

$  # enable hook
$  git tag v0.1.enabled
$  git push 
Everything up-to-date
$  git push --tags
Total 0 (delta 0), reused 0 (delta 0)
remote: Rejected merge commit: 320632b3ac9d09a09f641583aa026d7a9b828d03
remote: =================================
remote: Merge commits where all parents are from the same branch are not allowed.
remote: =================================
To ssh:// xxxxx /testrepo.git

Comments (3)

  1. Log in to comment