🔧 git revert
Undo a commit with out changing the course of history
Undo a commit with a new commit
command line
git revert <commit-ID> -m "reverting last commit"
Undo a commit with out changing the course of history
Undo a commit with a new commit
git revert <commit-ID> -m "reverting last commit"