Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Remote Tracking Branch Issues
Remote Tracking Branch Issues [message #824476] Mon, 19 March 2012 18:13
rahim virani is currently offline rahim virani
Messages: 3
Registered: March 2012
Junior Member
I am having trouble getting EGit to 'pull' from a newly created remote branch. Here is the command line equivalent of my objective:

git checkout -b RV-1234

git push -u origin RV-1234

If I create a branch RV-1234 based on a remote, master let's say, with default strategy 'rebase', then I end up with this new local branch tracking master on the remote. (makes sense). When I push the newly created branch, I get a new remote branch RV-1234 and 'push' is automatically setup to 'push' to the corresponding remote. (OK). However, the branch is still 'pulling' from master. I want to make it 'pull' from the new remote that it is 'pushing' to, RV-1234.

How do I get Egit to produce the command 'git push -u origin RV-1234' instead of 'git push origin RV-1234' to make this happen? I don't want to go and edit my config file every time. That's nuts.
Previous Topic:Eternal problems when cloning with EGit
Next Topic:Eclipse does not seem to recognize ecdsa-sha2-nistp256 fingerprint
Goto Forum:
  


Current Time: Mon Oct 20 18:09:11 GMT 2014

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

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