From: Felipe Contreras <felipe.contreras@gmail.com>
To: Theodore Ts'o <tytso@mit.edu>,
Felipe Contreras <felipe.contreras@gmail.com>
Cc: Atharva Raykar <raykar.ath@gmail.com>, Git List <git@vger.kernel.org>
Subject: Re: The git spring cleanup challenge completion
Date: Sun, 04 Jul 2021 12:23:06 -0500 [thread overview]
Message-ID: <60e1ee7a3cfbc_6d11d20811@natae.notmuch> (raw)
In-Reply-To: <YOEEjwbMPRmWOmrM@mit.edu>
Theodore Ts'o wrote:
> On Sat, Jul 03, 2021 at 01:16:16PM -0500, Felipe Contreras wrote:
> > Atharva Raykar wrote:
> > > I can imagine aliases like 'co' only adding to the overload of
> > > information if an instructor is not careful. FWIW, I have never seen a new
> > > user complain about the length of the typing, it's usually with the plethora
> > > of unintelligible (to them) options that each command has when they open the
> > > Git man pages, which adds more fear.
> >
> > This is one of the reasons I suggested to split git into two binaries:
> > git for normal users, and git-tool for all the plumbing not many humans
> > use.
>
> It might be that the answer for the problem Atharva has described
> would be for someone so include to create a new front-end to git ---
> call it "sg", for simplified git", or "gt" for git tool (different
> from the "git-tool suggested by Felipe), etc.
>
> It could be an extremely opinionated subset of git's functionality;
> for example, it could be one where the index is completely hidden from
> the user, so you never need to type "sg add" when modifying a file,
> but only when adding a new file to be under source code management
> (e.g., that "sg commit" would effectively imply "git add -u ; git
> commit"), and so on. Since the index doesn't conceptually exist in
> the sg interface, then "sg reset" would only have the meaning of "git
> reset --hard", etc.
>
> By definition this simplified front-end to git would have a subset of
> the functionality of "full git", but that's OK. The whole goal would
> be to make something super newbie-friendly --- the equivalent of a
> "Mac OS-like" interface, that perhaps doesn't have the power of
> someone who opens up a shell and uses tools like awk or perl, but is
> good enough "for the rest of the human race".
>
> Note that this doesn't have to be an official "git" ccommunity
> initiative; anyone could try to create such one of these things (and I
> believe a few things exist already).
>
> Making it a non-goal that this "user friendly" front end doesn't have
> to have the full functionality of git, and its main goal is to allow
> the use of different user interface design choices made by git, might
> be much simpler than trying to change git, which would require having
> the argument over which functionality is used by "normal users", and
> which features should be exiled to "git-pull" as being "fringe"
> features.
I think there's some value in that idea but that doesn't solve the same
problem my suggestion solves. Basically there's too many commands in
`man git`. Splitting the git binary would allow us to only put the
important commands in `man git`.
I think having too many commands overwhelms many newcomers, because they
don't know which it's important for them to learn and which are
basically noise.
--
Felipe Contreras
next prev parent reply other threads:[~2021-07-04 17:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-02 22:49 The git spring cleanup challenge completion Felipe Contreras
2021-07-03 5:53 ` Bagas Sanjaya
2021-07-03 17:33 ` Felipe Contreras
2021-07-03 14:00 ` Atharva Raykar
2021-07-03 18:16 ` Felipe Contreras
2021-07-04 0:45 ` Theodore Ts'o
2021-07-04 17:23 ` Felipe Contreras [this message]
2021-07-04 20:47 ` Ævar Arnfjörð Bjarmason
2021-07-06 22:31 ` Felipe Contreras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60e1ee7a3cfbc_6d11d20811@natae.notmuch \
--to=felipe.contreras@gmail.com \
--cc=git@vger.kernel.org \
--cc=raykar.ath@gmail.com \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).