Reverting a git merge while allowing for the same merge later)
问题 What's the best way to revert a committed git merge while keeping the option of merging the same branch at a later point? This is for a situation when I merge a branch into HEAD, then decide that I do not want these changes at the present , but still want the option to merge them into HEAD at some later point. " git revert -m 1 " reverts the code to the pre-merge state, but the branch is still somehow marked as "already merged". So a repeated merge with the same branch at a later point does