10 ms·
> staging only some files and comitting is much easier than splitting a commit after the fact Re this point, how is it any different? "Staging" the files is es
by arxanas 3y ago
> staging only some files and comitting is much easier than splitting a commit after the fact
Re this point, how is it any different? "Staging" the files is essentially the same as splitting the commit, anyways — it's just that the newly-split contents go into a "staging area" vs a commit. Do you mean that the tooling to accomplish this is not good?
- awestroke 3y agoStaging is additive, while splitting is subtractive
- arxanas 3y agoI am working on a TUI tool for Git/jj to handle staging/splitting. Could you tell me more about what workflow would be problematic for you? For example, if you had to select lines that go in the first commit/staging area, does that work? Would it be better or worse if, for each line, you had to decide whether it would go into the first commit/staged vs second commit/unstaged area? Do you ever need to invert the first commit/staging area vs second commit/unstaged area?