4 ms·
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
by alkonaut 2y ago
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.