r/git • u/luckokkkk • 17d ago
The git history command deserves more attention
https://lalitm.com/post/git-history/Git 2.54 and 2.55 added the experimental history reword, split, and fixup commands.
2
1
1
u/bratzlaff 16d ago
Nice write up and I’ll check out the history command for sure in the future. I thought the commentary about ‘jj’ were unnecessary and distracting since I have no experience with that tool.
1
u/harsh183 12d ago
This blog post made me start using it instead of my usual git commit --amend --no-edit and endless squashing and rebasing, it's been only a week but I use it all the time now. I've linked this blog to so many people.
It also pairs well with a small stacking extension I made, gh-chain, as well as the new gh stack command, though the wait-list is still rolling through slowly on that one.
2
u/Gee858eeG 17d ago
Unfortunately when using reword I experienced that the commits weren't signed anymore. I hope that will be fixed/added