Search code examples
gitgithubgit-bashgitkraken

How to push tags to Github via GitKraken


I have a fully working connection between a paid Pro version of GitKraken, connected to Github using a SSH key.

Now, pushing a "tag", as explained here, is NOT defaultly done via "normal" push.

By default, the git push command doesn’t transfer tags to remote servers. You will have to explicitly push tags to a shared server after you have created them.

To be clear to all readers, I intend to use a "tag" to identify each release version number on its specific commit.

So the suggested solution of the above linked explanation is a command line one.

  • I tried using the GitKraken terminal... The connection is denied.

  • I tried Git Bash to acces a command line... Maybe it would work, but I need a SSH key specific to Git Bash.

  • I tried to create one following the steps of this tutorial but it isn't accepted by Github. I got an error message saying the key is invalid, use an OpenSSH key.

Hey... I'm sure that pushing a tag is easier than all that. Awaiting your advises!


Solution

  • If you can push commits with GitKraken, then right-clicking on an annotated tag and selecting "Push <tag-name> to origin" should be enough.

    https://1v5ymx3zt3y73fq5gy23rtnc-wpengine.netdna-ssl.com/wp-content/uploads/2021/08/git-push-tag-to-remote-gitkraken.png.webp

    See "GitKraken / Git Push Tag".

    If pushing in general is denied because of SSH issue, check your GitHub authentication preference in GitKraken.