Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Automatic main tag release causes warning: refname 'main' is ambiguous #300

Closed
dblock opened this issue May 23, 2024 · 0 comments · Fixed by #321
Closed

[BUG] Automatic main tag release causes warning: refname 'main' is ambiguous #300

dblock opened this issue May 23, 2024 · 0 comments · Fixed by #321
Assignees
Labels
bug Something isn't working

Comments

@dblock
Copy link
Member

dblock commented May 23, 2024

What is the bug?

We have a main tag that makes the refname main ambigous.

How can one reproduce the bug?

For example, trying to pull someone else's changes in to test.

git checkout -b new-branch main

warning: refname 'main' is ambiguous.
fatal: ambiguous object name: 'main'

You can work around this locally.

$ git tag -d main
Deleted tag 'main' (was c58908d)

What is the expected behavior?

Main should be unambiguous.

@dblock dblock added bug Something isn't working untriaged and removed untriaged labels May 23, 2024
@dblock dblock removed the untriaged label May 31, 2024
@dblock dblock self-assigned this Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant