Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
perfmode
on March 16, 2017
|
parent
|
context
|
favorite
| on:
How to Write a Git Commit Message (2014)
I am a firm believer that it's totally fine to rewrite history when working on a private branch that hasn't been pushed.
jononor
on March 17, 2017
|
next
[–]
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.
cortesoft
on March 16, 2017
|
prev
[–]
Not pushing private branches is risky though - you have no backup if something happens to your machine.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: