GIT undo last commit
How to undo last commit in GIT?
git commit ...
git reset --soft 'HEAD^'
edit
git add ....
git commit -c ORIG_HEAD
How to undo last commit in GIT?
git commit ...
git reset --soft 'HEAD^'
edit
git add ....
git commit -c ORIG_HEAD