sync two remote branches [message #1231535] |
Tue, 14 January 2014 17:42  |
Eclipse User |
|
|
|
Hi,
I need your help that might sound very simple, I have two branches, by mistake one change was pushed to the wrong branch and now those two branches are out of sync.
By example, branch A is mine main development branch where I push the changes, when all the changes are ready we merge it everything with branch B, but by mistake a change was pushed directly to branch B and now branch A and B are out of sync.
What can use using the plugin in Eclipse to sync those two remote branches, basically I could copy everything from one to the other.
At this point I could just copy everything from branch A into branch B to keep them back on sync.
Thanks in andvance for your help,
Zareh
|
|
|
|
Re: sync two remote branches [message #1232660 is a reply to message #1232228] |
Fri, 17 January 2014 07:50  |
Eclipse User |
|
|
|
Oops, I read your question too quickly and provided an irrelevant response having to do with local branches.
Sorry.
For the case you describe I would probably delete remote branch B, then recreate it to match A.
EGit supports remote branch deletion via the dialog in Team -> Remote -> Push ...
|
|
|
Powered by
FUDForum. Page generated in 0.27383 seconds