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 -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -