Having unnecessary commits is a problem. We should be able to delete/remove/reverse the commits to have the env clean.
Hi Deep
You can use Reverse merge changes to remove unnecessary commits from your application.