News for hackers. Stuff that matters.
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.)

Re:Ask HN: What is your Git commit/push flow? by dopidopHN on Thursday March 17, 2022 @02:12PM (#30714201)
I 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.