git reset --soft HEAD^
This will reset your index to HEAD^ (the previous commit) but leave your changes in the staging area.
by Luka Tatarishvili
4 years ago
Git
commands
0
Pro tip: use ```triple backticks around text``` to write in code fences