How I Use Git Worktrees (2024)(matklad.github.io) |
How I Use Git Worktrees (2024)(matklad.github.io) |
$ 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.How the author describes handling work trees is exactly how they work in hg, and I find it enormously convenient vs the way that git by default really wants you to branch with work trees.
Then I found the article links to jj homepage