Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github for Windows - Adding tags

Is there a way to manage repositories tags in Windows client of Github?

(and if not, how could I do this ?)

like image 834
Dric Avatar asked Dec 13 '12 14:12

Dric


People also ask

How do I add tags to GitHub desktop?

Creating a tag Click History. Right-click the commit and click Create Tag.... Type the name of the tag. Click Create Tag.

How do I add tags to my repository?

In order to create a new tag, you have to use the “git tag” command and specify the tag name that you want to create. As an example, let's say that you want to create a new tag on the latest commit of your master branch. To achieve that, execute the “git tag” command and specify the tagname.

How do I add tags to a pull request GitHub?

You can't. A pull request does not include tags. A pull request is only a pointer to a thread of commits (a branch) in your repository that you're proposing another repository to merge.


1 Answers

You would still need to open a bash from the "GitHub for Windows" GUI and use the CLI.

git push --tags
git fetch --tags
git tag -a ...

(See git tag man page)

There was a similar question for GitHub for Mac, and in both cases, the tags namespace (refs/tags) isn't yet taken into account by the GUI.


Since May 2020, 7+ years later:

"Create and push tags in the latest GitHub Desktop 2.5 release"

With today’s 2.5 release, you can create and view your tags directly from GitHub Desktop. Now when you push to GitHub.com, any tags created in Desktop are automatically included. GitHub Desktop also notifies you when you’ve created tags but haven’t yet pushed them, so you don’t forget to share your latest tag with the rest of the team.

https://i1.wp.com/user-images.githubusercontent.com/10404068/81434697-70277500-911b-11ea-9b30-d5da8a80a664.gif?ssl=1

like image 170
VonC Avatar answered Oct 03 '22 03:10

VonC