Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » How to create a new tag?
How to create a new tag? [message #1075895] Tue, 30 July 2013 05:35 Go to next message
Luís de Sousa is currently offline Luís de Sousa
Messages: 115
Registered: July 2009
Senior Member
Hello everyone,

I'd like to create a new tag using EGit. According to the manual there are two ways of doing it:

1. Select Team > Advanced > Tag...
- But I don't have the Advanced sub-menu in the Team menu.

2. Execute Create Tag... on a commit in the History view.
- But I don't have this button/option in the History view.

How do I do it? Thank you.

My setup:

Version: Indigo Release
Build id: 20110615-0604
Eclipse EGit Git Team Provider 1.1.0.201109151100-r
Re: How to create a new tag? [message #1075975 is a reply to message #1075895] Tue, 30 July 2013 08:34 Go to previous messageGo to next message
R Shapiro is currently offline R Shapiro
Messages: 379
Registered: June 2011
Senior Member
Update to a less archaic version of EGit. 1.1 is really old.
Re: How to create a new tag? [message #1076038 is a reply to message #1075975] Tue, 30 July 2013 11:07 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de Sousa
Messages: 115
Registered: July 2009
Senior Member
Thanks for the reply Shapiro. I tried to run the update but I get this error back:

Quote:
Your original request has been modified.
"Eclipse Git Team Provider" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Git Team Provider 3.0.1.201307141637-r (org.eclipse.egit.feature.group 3.0.1.201307141637-r)
Software currently installed: Eclipse IDE for Java EE Developers 1.4.0.20110615-0550 (epp.package.jee 1.4.0.20110615-0550)
Only one of the following can be installed at once:
Team Support Core 3.6.100.v20120524-0627 (org.eclipse.team.core 3.6.100.v20120524-0627)
Team Support Core 3.5.100.I20100527-0800 (org.eclipse.team.core 3.5.100.I20100527-0800)
Team Support Core 3.5.100.R36x_v20100825-0800 (org.eclipse.team.core 3.5.100.R36x_v20100825-0800)
Team Support Core 3.5.101.R36x_v20110203-1036 (org.eclipse.team.core 3.5.101.R36x_v20110203-1036)
Team Support Core 3.6.0.I20110525-0800 (org.eclipse.team.core 3.6.0.I20110525-0800)
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 1.4.0.20110615-0550 (epp.package.jee 1.4.0.20110615-0550)
To: org.eclipse.epp.package.jee.feature.feature.group [1.4.0.20110615-0550]
Cannot satisfy dependency:
From: Eclipse Git Team Provider 3.0.1.201307141637-r (org.eclipse.egit.feature.group 3.0.1.201307141637-r)
To: org.eclipse.egit.ui [3.0.1.201307141637-r]
Cannot satisfy dependency:
From: Git Team Provider UI 3.0.1.201307141637-r (org.eclipse.egit.ui 3.0.1.201307141637-r)
To: bundle org.eclipse.team.core [3.6.100,4.0.0)
Cannot satisfy dependency:
From: Java EE IDE Feature 1.4.0.20110615-0550 (org.eclipse.epp.package.jee.feature.feature.group 1.4.0.20110615-0550)
To: org.eclipse.platform.feature.group [3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f]
Cannot satisfy dependency:
From: Eclipse Platform 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f (org.eclipse.platform.feature.group 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f)
To: org.eclipse.team.core [3.6.0.I20110525-0800]


Which is chinese to me. What else do I need to install before upgrading EGit?
Re: How to create a new tag? [message #1076370 is a reply to message #1076038] Wed, 31 July 2013 05:14 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de Sousa
Messages: 115
Registered: July 2009
Senior Member
Hello again,

I finally understood that to update EGit I needed to upgrade Eclipse itself. My set up is now the following:

Version: Juno Service Release 2
Build id: 20130225-0426
Eclipse EGit 3.0.1.201307141637-r

But I still don't have any of the menu options referred in the manual: Advanced in the context menu or Create Tag... in the History view.

So back to square one: how do I create a git tag in Eclipse?

Thank you.
Re: How to create a new tag? [message #1077891 is a reply to message #1076370] Fri, 02 August 2013 05:22 Go to previous messageGo to next message
Marcus Warm is currently offline Marcus Warm
Messages: 9
Registered: July 2009
Location: Kevelaer, Germany
Junior Member
hi Luís

I would do it this way: Git Repository Perspective -> Git Repositories View
1) check out the local branch that I want to tag
2) right click on Tags -> Create Tag
Enter tag name and tag message. OK.
Finished.

Regards
Marcus Warm


[Eclipse Kepler 20130614-0229, EGit team provider 3.0.0.201306101825-r]
Re: How to create a new tag? [message #1078106 is a reply to message #1077891] Fri, 02 August 2013 10:46 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de Sousa
Messages: 115
Registered: July 2009
Senior Member
Thanks Marcus, that's pretty awkward but works.
Re: How to create a new tag? [message #1080040 is a reply to message #1078106] Mon, 05 August 2013 07:51 Go to previous message
Marcus Warm is currently offline Marcus Warm
Messages: 9
Registered: July 2009
Location: Kevelaer, Germany
Junior Member
Maybe this helps also: http://www.youtube.com/watch?v=q6E9alq-5ls

It's important to push the tag after you created it, so other users can see the tag. Target refname = refs/tags/<tag name>

good luck


[Eclipse Kepler 20130614-0229, EGit team provider 3.0.0.201306101825-r]
Previous Topic:JGit - Delete remote branch
Next Topic:Automatically generated .gitignore files
Goto Forum:
  


Current Time: Mon Apr 21 03:21:32 EDT 2014

Powered by FUDForum. Page generated in 0.03027 seconds