News for hackers. Stuff that matters.
Re:Shit – An implementation of Git using POSIX shell by smichel17 on Tuesday February 11, 2020 @10:54PM (#22305579)
I've wanted this for a long time, and also a frequently-amended working-tree-as-a-commit.

Why? I prefer a each branch to have its own staging area and working tree, which maps better to my mental model of "branch as an under-development feature".

Currently my workflow to achieve this involves a lot of stashing.

Re:Shit – An implementation of Git using POSIX shell by _ikke_ on Wednesday February 12, 2020 @12:54AM (#22306209)
Do you know about git worktree? Because that sounds exactly what you want. Each worktree has its own index (staging area) and working tree.
Re:Shit – An implementation of Git using POSIX shell by rswail on Wednesday February 12, 2020 @12:01AM (#22305944)
What's the difference between a stash and a "working tree as a commit"?