4 ms·
How does it figure out which commit to add each change to?
by tripdout 2y ago
How does it figure out which commit to add each change to?
- andsens 2y ago7 lines into the README buddy: > 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.
- bananapub 2y agoit explains it in literally the first paragraph: https://github.com/tummychow/git-absorb?tab=readme-ov-file#git-absorb https://github.com/tummychow/git-absorb?tab=readme-ov-file#g... > 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.