Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jamienicol
· 1y ago · 0 comments
That problem is solved by preventing forced pushes. Rewriting history locally is encouraged.
Comments
[–]
Tainnor
1y ago
Prevent forced pushes on protected branches (develop, main, hotfix etc.). I don't care if somebody force pushes their private feature branch.
[–]
cmrdporcupine
1y ago
Force pushing onto PR branches is the only way to make the commit history in them sane.
But GH's PR process is broken anyways. I miss Gerritt.