4 ms·
The feature is 'git push'. --force is the opt-in to the unsafe behavior. It should not be used lightly.
by kristjansson 3y ago
The feature is 'git push'. --force is the opt-in to the unsafe behavior. It should not be used lightly.
- IshKebab 3y agoYou're missing the point. `--force` is the default of the force variants. The other `--force-but-something` arguments clearly modify that default. It's the wrong way round. Obviously they've done it for backwards compatibility, but the fact that they haven't even added an option to make it the default is pretty lame.