Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » How to push the currently checked out branch with it's commits?(Something like "git push --follow-tags" with egit?)
How to push the currently checked out branch with it's commits? [message #1742962] Thu, 08 September 2016 21:57 Go to next message
Christian Busch is currently offline Christian BuschFriend
Messages: 1
Registered: September 2016
Junior Member
Hi.
I want to push only the currently checked out branch, but with it's tags. If I am not mistaken then on the command line it would be something like

git push --follow-tags

Reading in the documentation I only found ways using refspec. And the examples would push all tags and all branches.

Is there a way to replicate git push --follow-tags in Eclipse / egit? If not, is there a way to reference the currently checked out branch (or it's name) in the refspec?

Greetings,
Christian
Re: How to push the currently checked out branch with it's commits? [message #1743119 is a reply to message #1742962] Mon, 12 September 2016 11:19 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 943
Registered: July 2009
Senior Member
push.followTags is not yet implemented

you can refer to the currently checked out branch using HEAD
Previous Topic:Commit diff view for index
Next Topic:Incorrect log results after merge
Goto Forum:
  


Current Time: Sat Jul 22 17:18:57 GMT 2017

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

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