tummychow / git-absorb

git commit --fixup, but automatic
https://crates.io/crates/git-absorb
BSD 3-Clause "New" or "Revised" License
3.39k stars 58 forks source link

Add --root option #118

Open xixixao opened 1 month ago

xixixao commented 1 month ago

To consider all commits including the first commit.

tummychow commented 1 month ago

keep in mind that you cannot absorb through merges, so if any merge exists anywhere in the ancestry of HEAD, then you can't actually go all the way to the first commit