简体   繁体   中英

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)

在此处输入图片说明

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM