Using : git revert --no-commit {id} , We can delete the particular commit part without commit. But if it needs no commit and want to go back, use : git reset --hard.