Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341032 - Cannot push tag to reprository
Summary: Cannot push tag to reprository
Status: CLOSED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-26 10:42 EDT by Marc Bauer CLA
Modified: 2011-03-28 15:31 EDT (History)
1 user (show)

See Also:


Attachments
screenshot: define refspec for pushing all tags (68.40 KB, image/png)
2011-03-28 10:14 EDT, Matthias Sohn CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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...