How do I delete unpushed git commits? April 13, 2022 by IT Nursery I accidentally committed to the wrong branch. How do I delete that commit? 7