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

I make one elaborate commit where I carefully stage things etc. But invariably I miss something, find 3 typos and so on.

that’s when the aliases are handy. The alias for fixing a typo is using all, amend and no-edit. Super useful. But obviously needs to be used with care when you only do such a fix. I’d be perfectly happy for my git oops to refuse running if there is more than one changed line to commit, for example.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: