Search code examples
giteclipseegit

How to change the current branch to master in Egit?


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)

enter image description here


Solution

  • It should be possible by:

    The OP Deco reports the appropriate process he followed:

    • Created a temp branch alongside the master branch
    • Right clicked and selected Team >'switch to' > 'master'
    • Chose hard reset and select the test branch.