Re: [PATCH 6/7] stage: add 'diff' subcommand
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 11, 2021, 20:57 UTC
- Message-ID
- <xmqq7dgr8zt7.fsf@gitster.g>
- In-Reply-To
- <162871314612.7067.6886805754107701040.git@grubix.eu>
Michael J Gruber <git@grubix.eu> writes:
Show 5 quoted lines
> I still think it's very worthwhile to fantasize about a git which has > only verb-like commands (such as diff, add, checkout, checkin) and a > consistent way of specifying the objects to act upon (possibly amended > by "git pluralnoun" being synonymous to "git ls noun" or similar > convenience shortcuts).
It is nice to fantasize that the world were without confusing mixture of variety of things.
I am not sure if a single "git create" command that can be used to create a new commit (aka "git commit"), a new tag (aka "git tag"), or a new worktree (aka "git worktree add"), or a single "git remove" command that can be used to remove a branch (aka "git branch -d"), a tracked file (aka "git rm"), would create a more easy to learn and explain UI. At some point, I suspect that we would run out verbs more quickily than we can organize commands and concepts in a way that is easy to understand and explain by using them.