Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » How to push a tag to gitgub
How to push a tag to gitgub [message #770098] Fri, 23 December 2011 10:32 Go to next message
jeehaa is currently offline jeehaaFriend
Messages: 1
Registered: December 2011
Junior Member
Hi,
i created a new tag successfully with egit in my local repository.
Now i want to push this tag to github.
How can i do this?
I couldn't find any menuentry in egit to do this.
Thanks
Re: How to push a tag to gitgub [message #771154 is a reply to message #770098] Mon, 26 December 2011 13:36 Go to previous messageGo to next message
R Shapiro is currently offline R ShapiroFriend
Messages: 386
Registered: June 2011
Senior Member
To do this in egit you need to adjust the push settings for the given remote:

Team -> Remote -> Configure Push to Upstream

This will display a dialog called "Configure Push". In the "Ref Mapping" section you can specify what you want to push.

If you want to push all tags, click the "Edit (Advanced)" button. This will display a sub dialog called "Push Ref Specifications". From here you can indicate that you want to push all tags by clicking the "Add All Tags Spec" button.

If you only want to push specific tags, rather than all, you would have to add the refspecs one at a time in the "Configure Push" dialog, by using the "Add..." button at the bottom the "Ref Mapping" section. For the 'Local Branch' just start typing the tag name and egit should offer to fill it in from a menu. It should end up as something like refs/tags/some-tag-here. Then use exactly the same string for the 'Remote Branch'.

icon14.gif  Re: How to push a tag to gitgub [message #1043254 is a reply to message #771154] Wed, 17 April 2013 13:21 Go to previous messageGo to next message
Marco Cuccato is currently offline Marco CuccatoFriend
Messages: 2
Registered: April 2013
Junior Member
You're awesome! Thank you very much!
Re: How to push a tag to gitgub [message #1053798 is a reply to message #1043254] Tue, 07 May 2013 15:54 Go to previous message
Stefan Lay is currently offline Stefan LayFriend
Messages: 342
Registered: July 2009
Senior Member
You can also push a tag directly from the Git Repositories View.

Expand the Tags node, select a tag and then Push Tag...
Previous Topic:EGit could not detect where Git is installed
Next Topic:Team -> show Annotations is always disabled
Goto Forum:
  


Current Time: Tue Mar 19 05:33:11 GMT 2024

Powered by FUDForum. Page generated in 0.04418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top