Usually if I click on a commit, I see a modified file and I click "d" it reverts the changes. But in case of submodule, it deletes the entire submodule. Please try ...