Re:Shellfirm: Intercept risky patterns at the command line
by pca006132 on Sunday July 31, 2022 @04:00AM
(#32294081)
You need to commit them first. If you did not commit them, it doesn't work. But yeah, maybe I can just define an alias to add+commit+reset, which should solve this problem.
Re:Shellfirm: Intercept risky patterns at the command line
by wruza on Sunday July 31, 2022 @04:44AM
(#32294265)
I just stopped worrying and commit everything into my own repos, even half baked or temporary, making sure that a commit message or a file name signals it clearly. Itβs a versioning system for this exact purpose, not a ceremonial sanctuary.
I'm pretty sure most git users (who know what "git reset" is) don't realize this!