top | item 46438397 (no title) tedmiston | 2 months ago it's also very easy to rewrite commit history in a few seconds. discuss order hn newest mmh0000|2 months ago If I'm rewriting history ... why not just squash?But also, rewriting history only works if you haven't pushed code and are working as a solo developer.It doesn't work when the team is working on a feature in a branch and we need to be pushing to run and test deployment via pipelines. 9029|2 months ago > But also, rewriting history only works if you haven't pushed code and are working as a solo developer.Weird, works fine in our team. Force with lease allows me to push again and the most common type of branch is per-dev and short lived.
mmh0000|2 months ago If I'm rewriting history ... why not just squash?But also, rewriting history only works if you haven't pushed code and are working as a solo developer.It doesn't work when the team is working on a feature in a branch and we need to be pushing to run and test deployment via pipelines. 9029|2 months ago > But also, rewriting history only works if you haven't pushed code and are working as a solo developer.Weird, works fine in our team. Force with lease allows me to push again and the most common type of branch is per-dev and short lived.
9029|2 months ago > But also, rewriting history only works if you haven't pushed code and are working as a solo developer.Weird, works fine in our team. Force with lease allows me to push again and the most common type of branch is per-dev and short lived.
mmh0000|2 months ago
But also, rewriting history only works if you haven't pushed code and are working as a solo developer.
It doesn't work when the team is working on a feature in a branch and we need to be pushing to run and test deployment via pipelines.
9029|2 months ago
Weird, works fine in our team. Force with lease allows me to push again and the most common type of branch is per-dev and short lived.