6 ms·
No matter how many times I do it, i have troubke squashing. Maybe I am just dumb .
by Gunax 5y ago
No matter how many times I do it, i have troubke squashing.
Maybe I am just dumb .
- a_t48 5y agogit reset <parent> —soft; git commit -m squash The first command sets your current comment to parent, with any changes staged, the second commits it. I don’t mess with the interactive rebase. There’s a magic combination of this and the reflog that can preserve commit history, too.