Is it possible to revert all changes made to a specific branch without losing history?
I branched master a long time ago to hide specific features but now this branch has to become the same as master but I need the branch history intact.
master -> branched -> (revert stripping) -> branched = master
The branched should now reflect master although I want a commit in branched with all the changes that was needed to get to master.
The easiest way I can think of is to copy the sources of master and delete/paste files in branched but my worry is if this will generate conflicts when later merging from master?