Y
Hacker News
new
|
ask
|
show
|
jobs
by
perfmode
3384 days ago
I am a firm believer that it's totally fine to rewrite history when working on a private branch that hasn't been pushed.
2 comments
jononor
3384 days ago
Mostly fine to do it on a feature/PR branch also, in my opinion. If those become long-lived with multiple people touching them (where history rewrites become peoblematic) you are not integrating continuously enough.
link
cortesoft
3384 days ago
Not pushing private branches is risky though - you have no backup if something happens to your machine.
link