undo last commit
This command will undo the latest commit.
git reset --soft HEAD~1
copy
This command will undo the latest commit.
git reset --soft HEAD~1
copy