News for hackers. Stuff that matters.
Re:Learn Git Branching by alkonaut on Sunday September 15, 2024 @03:53PM (#41549850)
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.

There are no comments on this comment yet.