2 ms·
I don't think this is a black and white issue. It's not about denying all users the ability to express X ever again. I think it's more about having systems that
by icebraining 13y ago
I don't think this is a black and white issue. It's not about denying all users the ability to express X ever again. I think it's more about having systems that can tell if X is an unusual or heavyweight action and say, "Hey, you're about to do X, which impacts a lot of stuff and you've never done before. Are you sure that's what you mean?"
Yes, but git already does that, by having the user type "--force". Asking would eliminate the possibility of scripting the action.
- davvolun 13y agoThat's not entirely accurate, e.g. "git push --force --yes" would still be perfectly scriptable.
- bereft_orange 13y agohow far does that go though? `git push --force --yes --yes-I-am-absolutely-sure --by-pushing-this-commit-I-agree-I-am-paying-attention`. Seems like `--force` is a succinct way to cover those two parts.