News for hackers. Stuff that matters.
Re:Write Better Commits, Build Better Projects by michalc on Friday July 01, 2022 @12:52PM (#31949232)
Interestingly it doesn't seem to mention force pushing, which I think is needed if you've pushed a feature branch, and only then want to re-arrange its commits, which I think is quite a common workflow (at least for me).
Re:Write Better Commits, Build Better Projects by C0d3r on Friday July 01, 2022 @04:25PM (#31952336)
Push --force-with-lease is part of my muscle memory since I `rebase -i` so much in my workflow. Why do you think the article should mention it?
Re:Write Better Commits, Build Better Projects by michalc on Friday July 01, 2022 @05:55PM (#31953520)
I guess since the workflow (very almost) requires the use of force pushing (with or without lease), it feels like the article hasn't presented a complete workflow people can follow, and so is a bit incomplete.