git log // staged git reset --soft HEAD^ // unstaged git reset --mixed HEAD^ git reset HEAD~2
// git reset HEAD [file] git reset HEAD README.md
Ref
https://gmlwjd9405.github.io/2018/05/25/git-add-cancle.html
Last updated 1 year ago