tummychow / git-absorb

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

Add mozilla quote #67

Closed ianchanning closed 1 year ago

ianchanning commented 1 year ago

The mozilla quote from the google group is really helpful to explain the background behind hb absorb. Even after reading your README I didn't fully understand, but the below lines for example made a lot of sense and then the whole quote is very useful for context.

The command essentially looks at the lines that were modified, finds a changeset modifying those lines, and amends that changeset to include your uncommitted changes. If the changes can't be made without conflicts, they remain uncommitted. This workflow is insanely useful for things like applying review feedback.