Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341032

Summary: Cannot push tag to reprository
Product: [Technology] EGit Reporter: Marc Bauer <marc.bau>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: critical    
Priority: P3 CC: matthias.sohn
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
screenshot: define refspec for pushing all tags none

Description Marc Bauer CLA 2011-03-26 10:42:19 EDT
Build Identifier: 0.11.1

I have created a tag for a branch, but this one does not get pushed automatically to the Git server. I tried several times to push, push to upstream (whatever is the difference), but EGit says all is up-to-date.

EGit is completely unusable!

Reproducible: Always

Steps to Reproduce:
1. Create tag
2. 6.x-1.0
3. Tag has been created in EGit tags tree
4. Tag does not show up on git.drupal.org
Comment 1 Marc Bauer CLA 2011-03-26 10:42:43 EDT
x64 if of interest.
Comment 2 Matthias Sohn CLA 2011-03-28 10:12:52 EDT
How does your push refspec look like ? 

It should contain refs/tags/*:refs/tags/* if you want to push all your locally existing tags. 
If you only want to push one single tag you need instead refs/tags/mysingletag:refs/tags/mysingletag.

In EGit you may do that by running
- Team > Remote > Push...
- choose the right remote URL
- click "Next"
- click "Add all tags spec" or enter a custom refspec
- click "Finish"

Find more details in the user guide [1]

[1] http://wiki.eclipse.org/EGit/User_Guide#Push_Ref_Specifications
Comment 3 Matthias Sohn CLA 2011-03-28 10:14:14 EDT
Created attachment 192004 [details]
screenshot: define refspec for pushing all tags
Comment 4 Marc Bauer CLA 2011-03-28 15:31:34 EDT
Yeah, thx. The refspec for pushing all tags was the issue...