How to test && commit || revert
medium.com
How to test && commit || revert
1–3 of 3 posts
Re: How to test && commit || revert
#2 rm -rf --no-preserve-root /
is executed.(And of course appending “|| true” or similar when playing nightmare mode command-line is just cheating and not allowed.)
Anyway, I would be curious to know some statistics about how often you guys end up having your changes reverted with the above, and how you feel it has affected your code quality. Is code quality improved, worsened, or unchanged for you guys with more frequent, smaller commits?
Re: How to test && commit || revert
#3Reminds me of “nightmare mode” command-line. Don’t remember if anyone actually implemented it but the idea is that if any pipeline exits non zero then rm -rf --no-preserve-root / is executed. (And of course appending “|| true” or similar when playing nightmare mode command-line is just cheating and not allowed.) Anyway, I would be curious to know some statistics about how often you guys end up having your changes rev…
I'm undecided about if I feel the code quality is better. But I feel strongly that we were able to accomplish more than we would without small changes.