For example, there are two branches, dev-a, dev-b;
Now merge the dev-a branch into the dev-b branch. After merging, I found some problems and want to roll back;
That is He said that he still wants to keep the contents of the dev-b branch unchanged; how to do this?
http://www.liaoxuefeng.com/wi...
See if you have pushed it. If you have pushed it, use git revert. If it is only local, you can directly reset --hard the commit_id before merging