Hugo Buddelmeijer via "Development of GNU Guix and the GNU System distribution." <[email protected]> writes:
> TIL about the "git history" command, which I want to share with you. > > https://lalitm.com/post/git-history/ > https://news.ycombinator.com/item?id=48901010 > Thanks for sharing these, Hugo. Every time I see an article about jj I open Magit and smile. Every time I looked at jj I couldn't find anything that was better than Magit's interactive rebase or instant fixup. > There is: > > - `git history fixup`, to amend a commit earlier in the history > - `git history reword`, to just change the commit message > - `git history split`, to split a commit into two > > These are about the most common operations I do (through 'git rebase > -i'), because `etc/committer.scm` makes the initial commits. > > If I understand correctly, these commands rebase every affected branch, > which is useful when you are juggling multiple branches at the same > time, which often happens with large topic branches. If that is true then I hope they are used in Magit soon cause I run into that issue often.
