git reset --soft HEAD^
This will undo the last commit and return the files to staging.
Will cause big problems if you have already pushed.git reset --soft HEAD^
This will undo the last commit and return the files to staging.
Will cause big problems if you have already pushed.