▲ | scottgg 3 days ago | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Since moving to jj[1] as a git-compatible alternative, I’ve found it so easy to make clean commits I do it by default for everything - usually 1/ refactor 2/impl, 3/ docs. Because you can always just “jj new” on top of an existing change then squash it down and get automatic rebase past that point it’s quick to keep things organised and makes review life suck less. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | diggan 3 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> you can always just “jj new” on top of an existing change then squash it down and get automatic rebase past that point Never used jj, but isn't that just `git commit --amend`? Lets you add/remove/change changes from the previous commit by basically overwritting it with a new changeset+message. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|