3 ms·
I typically work with commit chains of at least 5 commits in various states of code review, so I spend at least 60% of my development time editing an old commit
by fleventynine 2mo ago
I typically work with commit chains of at least 5 commits in various states of code review, so I spend at least 60% of my development time editing an old commit in the middle of a rebase -i.
- nopurpose 2mo agoYou might find `jj` to help you there: all changesets have stable identifier and their content can be updated at any moment in-place. TLDR; `jj edit <what_to_edit>; $EDITOR` will update a commit in the middle of the branch
- fleventynine 2mo agoNot an option for me until it supports submodules.
- nopurpose 2mo agoPrior to `jj` my happiest git discovery was https://github.com/ingydotnet/git-subrepo https://github.com/ingydotnet/git-subrepo to replace submodules.
- deleted 2mo ago[deleted]