Delete last local commits
I want to remove the last n
commits from my local repository.
These commits have not been pushed.
git reset --hard HEAD~n
I want to remove the last n
commits from my local repository.
These commits have not been pushed.
git reset --hard HEAD~n