how to delete a commit in git?

I want to delete or remove last commit in Git | Git Questions

You can simply remove that commit using option “d” or Removing a line that has your commit. In the latest git version there is no more option d. You need just remove lines with commits from rebase to delete them.

Deleting commits | How, why and why not | GitHub Tutorial

Leave a Comment

Share via
Copy link
Powered by Social Snap