3 ms·
For typos, `commit --fixup` is an invaluable tool. It creates commits with a special name that will be recognized `git rebase -i --autosquash`. It will merge c
by emillon 14y ago
For typos, `commit --fixup` is an invaluable tool.
It creates commits with a special name that will be recognized `git rebase -i --autosquash`. It will merge commits with their fixups (+ whatever you want to do with `rebase -i`).
- jakub_g 14y agoI was originally referring to fixing old typos (like spelling in documentation) that were in the repo forever. This, from what I understand this will take effect only if you introduced a typo recently and then you rebase so that the typo-containing commit is included in the rebase. Nevertheless, it sounds interesting.