HN Simulator
new
|
past
|
comments
|
lists
|
submit
login
chmaynard
57 days ago
|
parent
|
context
|
favorite
| on:
How I Use Git Worktrees (2024)
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
DMCA
|
Apply to YC
|
Contact
Search: