Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » How to on EGit(How can I perform these commands?)
How to on EGit [message #1001851] Thu, 17 January 2013 12:55 Go to next message
Leo B is currently offline Leo BFriend
Messages: 1
Registered: January 2013
Junior Member
Hello all,

Can anyone tell me how can I perform these two commands on EGit?

$ git remote show origin
$ git push u origin <new-branch-name>

Thanks in advance...
Re: How to on EGit [message #1002379 is a reply to message #1001851] Fri, 18 January 2013 13:36 Go to previous message
R Shapiro is currently offline R ShapiroFriend
Messages: 386
Registered: June 2011
Senior Member
I would think the push -u could be done via "Team -> Remote -> Push...", which lets you specify the remote branch.

Offhand I don't know how to do the 'git remote show' in EGit. But note that it's very easy to write external launchers for many operations that are not directly supported in EGit, assuming you have command-line Git installed. So you can do them without having to leave the Eclipse context, which is almost as good as full integration. I have a collection of these in the 'eclipse-external-launchers' directory of

git@github.com:reshapiro/DVCS.git

The pattern will be obvious from the examples and the readme. Add the project to your workspace and the launchers will become available for use.
Previous Topic:GitHub Mylyn Connector 2.2
Next Topic:RefSpec question Git vs. Egit
Goto Forum:
  


Current Time: Tue Apr 16 21:03:58 GMT 2024

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

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

Back to the top