We know we can do cherry-pick which is very useful.
git cherry-pick <commit-number>
But can we do something like cherry-remove in Git? Though not, can someone suggest a set of git commands to accomplish similar behavior?
Suppose we already committed a set of commits and at the end of the day, we realize that one of the commits was nonsense.
Note: Given that, there is no chance of having conflict while reverting the code. Assume the commit is totally not linked with any other code changes.