I have a branch on my local machine that has a complex history going back several months with many commits and merges with master.
I now want to merge this branch into master, deploy it, but if necessary in the future be able to do a single revert to undo the merge on to master. For example I merge today, but then a week later (after other commits for other features have been done) we discover we have to undo this merge.
Is it as simple as doing a revert using the sha from the merge?