Let's say that in our Git repository we worked on the master branch for some time. Then most of us started working with the coolfeature branch, while several developers continued on to master .
Now the developers who worked on master have lost interest, and what they have developed since we are forked is not very important. But we would like the main branch of development to be called master again. Itβs clear that we would like the tree to look something like this:
*--master--X ----master \ / --coolfeature--
What is the easiest way to achieve this? We really do not want to try to combine the coolfeature, and we are happy that the fixation marked X is completely meaningless.
Steve Bennett γΉ
source share