4 ms·
I do this (kind of too), but instead of an interactive rebase I just do a `git reset --soft <target_branch>`, where target_branch is the local (and up-to-date)
by elpakal 5y ago
I do this (kind of too), but instead of an interactive rebase I just do a `git reset --soft <target_branch>`, where target_branch is the local (and up-to-date) copy of my target branch. That gets me one clean commit that I can force push up to replace my branch @ remote.
(This works for me because auditing commit history is not important where I work, if it were I would organize commits better.)
- dopidopHN 5y agoI first did rebase, and after a while I realized I was not getting much of it since I mostly wanted to merge everything down to a single commit.