Git by Patrik

Delete latest commit but keep files

I want to delete my latest (local) commit but keep my files

git reset HEAD^1

Comments