github - What does [no-] mean in git manual? -
my assumption means opposite of command without adding no- prefix, have trouble getting confirmation on this.
so, let's in git update-index manual. can find flag --[no-]assume-unchanged specified 1 of possible flags command. [no-] mean here?
the prefix --no on option has rough meaning, , convention. there no general documentation because has no general meaning. can't pick random option , stick --no on it; works if separate --no-xyzzy option defined (which, in principle, could anything; which, usability, follows loose, conventional definition).
and definition is: --no-xyzzy undo --xyzzy do. useful when default behavior might determined config option. maybe out-of-the-box default command doesn't order pizza. there's --order-a-pizza option. if command finds $always_orer_a_pizza set in environment, order pizza without --order-a-pizza option; if, particular execution, shouldn't order pizza, can --no-order-a-pizza
Comments
Post a Comment