From Dev.to
git reset --soft, --mixed, --hard: what each one keeps (tested)
I always forgot which git reset mode deletes work. So I ran all three in a scratch repo (git 2.34.1) with the same setup: one commit one containing f.txt = "one", then a second commit that adds the li...
