- edited description
cannot push tags
Issue #5
duplicate
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)
-
reporter -
repo owner - changed status to duplicate
Duplicate of
#4. -
repo owner I have posted a new version of the plugin to the marketplace. Please try it out and let me know if that doesn't address the problem.
https://marketplace.atlassian.com/plugins/com.carolynvs.reject-merge-commit-hook
- Log in to comment