Issue
I want to know how to do this in Egit the eclipse plugin. This question has been asked many times for git but the answers involve some form of command language I do not have access to or know. Using the eclipse interface how can I make the test branch the master branch without taking on the original master branches flawed code (ie no merging)
Solution
It should be possible by:
- creating a new branch on top of your current
master
(in order to not lose the HEAD of that branch) - resetting the
master
branch to thetest
branch (the commits won't be lost, since they are referenced by the new local branch you just created)
The OP Deco reports the appropriate process he followed:
- Created a
temp
branch alongside themaster
branch - Right clicked and selected
Team >'switch to' > 'master'
- Chose
hard reset
and select thetest
branch.
Answered By - VonC
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.