I am newbie in git and I am working on git.
I added some files in git :
git add git add
then I want
git reset HEAD^ --soft (Save your changes, back to last commit)
git reset HEAD^ --soft
git reset HEAD^ --hard (Discard changes, back to last commit)
git reset HEAD^ --hard