[go: up one dir, main page]

Skip to content

Creating a tag of a branch that has the same name as an existing tag, will tag the existing tag and not the branch.

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

when a branch and a tag have the same name and you try to tag the branch, you will actually tag the tag.

Steps to reproduce

  • create branch
  • create tag with the same name as the branch
  • attempt to tag the branch

What is the current bug behavior?

the resultant tag will tag the commit of the tag and not the branch

What is the expected correct behavior?

the resultant tag will tag the head commit of the branch and not the tag

Edited by 🤖 GitLab Bot 🤖