Skip to content

Tags and branches cannot be pushed if one of the other has the same name #2402

@brainchild0

Description

@brainchild0

Using version 2026.11 on Linux Mint, I have been unable to push a branch if a tag also has the same name.

While a branch and tag of the same name is not always encouraged, it is supported by Git.

However, SourceGit returns an error regarding the ambiguity of the name. I believe the problem could be eliminated by the application operating on the reference directly by its full name, that is, prefixed by either refs/heads or refs/tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions