2 ms·
> See, switches in git are there because git maintains backward compatibility. Switches are there because git commands tend to greatly leak the abstraction and
by masklinn 10y ago
> See, switches in git are there because git maintains backward compatibility.
Switches are there because git commands tend to greatly leak the abstraction and group behaviour in terms of the underlying plumbing, and because Git maintainers most likely would rather add new switches to existing commands than new commands intersecting with existing ones.
> Sometimes a switch really would logically be better as a whole new command.
Which could trivially be done without BC issues and thus can't be an explanation why existing commands keep growing new switches.
> This article is a great way to find those hidden things.
It would have been a useful article if it had been about showcasing interesting or useful git switches.