Better HN
topnewbestaskshowjobs
Log inSign up

pheis

4 karma · joined Feb 18, 2026 (9mo ago) · 2 submissions

Submissions

comment 9mo ago · link · parent

>leak what

For example when the commits were made. I would not like to share publicly for the whole world when I have worked with some project of mine. Commits themselves could also contain something that you don't want to share or commit messages.

At least I approach stuff differently depending if I am sharing it with whole world, with myself or with people who I trust.

Scrubbing git history when going from private to public should be seen totally normal.

comment 9mo ago · link · parent

Or first thousand commits were squashed. First public commit tells nothing about how this was developed. If I were to publish something that I have worked on my own for a long time, I would definitely squash all early commits into a single one just to be sure I don't accidentally leak something that I don't want to leak.