logoalt Hacker News

1718627440today at 6:25 AM2 repliesview on HN

If you throw away commit messages, that is on you, it is not a limitation of Git. If I am cleaning up before merging, I'm maybe rephrasing things, but I am not throwing that information away. I regularly push branches under 'draft/...' or 'fail/...' to the central project repository.


Replies

erutoday at 11:31 AM

Sure, but you are still supposed to clean things up to make the life of the reviewer easier.

There's an inherent tension between honest history and a polished 'lie' to make the reviewer's life easier.

show 1 reply
kalaksitoday at 7:31 AM

Sounds easier (for everybody) to just use comments.