Git: how to revert series of commits with one commit -


in git, possible revert series of commits single commit? have following history, want revert commits b , c

e (head) | d | c | b | 

can done reset command, it's possible revert all following commits hard resetting target commit, , soft resetting head?

you revert multiple commits in separate commits , squash them one?

the real question here why want revert in single commit - clearer them in separate commits in single separate branch.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -