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

tags named refs/head/master create git confusion #146

Open
stnava opened this issue Jun 8, 2022 · 0 comments
Open

tags named refs/head/master create git confusion #146

stnava opened this issue Jun 8, 2022 · 0 comments

Comments

@stnava
Copy link
Member

stnava commented Jun 8, 2022

Describe the bug
Creating a tag with the same name as the master branch is bad practice.

The issue is created by a GitHub action that pushes to neuroconductor releases automatically. It would be better if the created tag was only pushed if it was an actual tag - instead of all commits.

To Reproduce
Try to make a git push origin master commit after the refs/head/master tag is created ... then you will get

error: dst refspec refs/heads/master matches more than one
error: failed to push some refs to 'github.com:ANTsX/ANTsRCore.git'

Expected behavior

Should be able to push to master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant