2 points | by oogali 2 hours ago
1 comments
It would be useful to mention that
$ git reset ~HEAD
$ git reset --soft ~HEAD
It would be useful to mention that
doesn't specify a reset mode, so the default mode --mixed is used. I prefer to use which leaves both the working tree and index unchanged.