News
Newest
Ask
Show
Jobs
Open on GitHub
How I Use Git Worktrees (2024)
(matklad.github.io)
2 points | by
oogali
1 hour ago
1 comments
chmaynard
52 minutes ago
It would be useful to mention that
$ git reset ~HEAD
doesn't specify a reset mode, so the default mode --mixed is used. I prefer to use
$ git reset --soft ~HEAD
which leaves both the working tree and index unchanged.
1 comments