Re:Ask HN: What is your Git commit/push flow?
by elpakal on Thursday March 17, 2022 @12:48PM
(#30713208)
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.)
(This works for me because auditing commit history is not important where I work, if it were I would organize commits better.)