Can't push tags that were created from cli
See original GitHub issueDescribe the bug
Can’t push tags that were created from cli. The only way to create a new tag is by using the option “Create tag…” manually as described in this blog but I’m using an automatic system in my repo.
Version & OS
Version 2.6.0 Windows 10 Pro
Steps to reproduce the behavior
- From git bash create a new tag
git tag -a <tag> HEAD -m <tag_message>
- Open github desktop and commit
- Push to remote
Expected behavior
The tags should be pushed to remote
Actual behavior
The tags doesn’t get pushed to remote
Screenshots
After creating the tag from cli it is visibile in github action
But It doesn’t get pushed to remote.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Cannot push tags in Git - gerrit - Stack Overflow
This is a general error message that is returned by Gerrit if a push is not allowed, e.g. because the pushing user has...
Read more >New GIT user experience : cannot push tags
From the “Commit Details” pane, I created a new Tag, with a nice description. ... However when Pushing to the remote/origin, the tags...
Read more >Git - Tagging - Git SCM
By default, the git push command doesn't transfer tags to remote servers. You will have to explicitly push tags to a shared server...
Read more >What are Git Tags and How to create, remove, view ... - Tools QA
Yes, Git Tags are immutable, and once created, they cannot change. You need to delete the tag and recreate it, although the tag...
Read more >Push rules - GitLab Docs
Do not allow users to remove Git tags with git push : Users cannot use git ... commits created outside GitLab and pushed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@billygriffin @steveward Came looking to figure out why my tags weren’t being pushed to Github. When I run
npm version #.#.#
, npm automatically updates mypackage.json
and creates a tag, but because it’s not created in Desktop, it’s not being pushed. Now I must push in Desktop, then go into terminal andgit push --tags origin
. 👎Maybe add a way to push the latest created tag? I’m facing the same issue.