Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am thinking of remote. Edits before pushing OK with me (they ate equivalent of recloning and redoing anyway)


Remotes aren't equal either. Sometimes the remote is my other machine, sometimes it's a fork on a forge used for producing CI artifacts.

It's a good rule of thumb to consider shared branches to be append-only, but not every remote branch is "shared" and, as with any proper rule of thumb, you can always find exceptions.


Ok I amend to what I think I really mean: don't edit history for anything deployed to prod (or released to public or customers) already.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: