question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't push tags that were created from cli

See original GitHub issue

Describe 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

  1. From git bash create a new tag git tag -a <tag> HEAD -m <tag_message>
  2. Open github desktop and commit
  3. 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 image

But It doesn’t get pushed to remote. image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Sparticuzcommented, May 11, 2021

@billygriffin @steveward Came looking to figure out why my tags weren’t being pushed to Github. When I run npm version #.#.#, npm automatically updates my package.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 and git push --tags origin. 👎

0reactions
MiguelRipoll23commented, Aug 28, 2022

Maybe add a way to push the latest created tag? I’m facing the same issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found