git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Patrick Häcker" <patrick.haecker@lss.uni-stuttgart.de>
To: git@vger.kernel.org
Subject: Improvement of git add interface
Date: Fri, 6 May 2011 14:03:28 +0200	[thread overview]
Message-ID: <201105061403.28674.patrick.haecker@lss.uni-stuttgart.de> (raw)

[-- Attachment #1: Type: Text/Plain, Size: 1076 bytes --]

Hello,

I introduce git to students and thus see, where they have a harder time than 
necessary to understand git.

Thus, I was thinking about a CLI improvement regarding "git add". It follows 
from the observation, that the students can learn consistent interfaces 
faster.

Similar to "ls -a" = "ls --all" there is a "git commit -a" = "git commit --
all", which means the same thing: use all files (with the known exceptions 
in git). There is a "git add -A" = "git add --all", too, which is basically 
the same. This leads to the following consistency question: Why is there no 
"git add -a"? I suggest adding "git add -a" as an alias to "git add -add". 
Maybe "git add -A" could then be deprecated in the long run, to not waste 
option name space, but this can be discussed later.

Kind regards
Patrick

P.S. Please CC, as I am not subscribed

-- 
Patrick Häcker
Universität Stuttgart 
Lehrstuhl für Systemtheorie und Signalverarbeitung 
Tel: +49 711 685 67362
E-Mail: patrick.haecker@lss.uni-stuttgart.de
URL: http://www.lss.uni-stuttgart.de

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

                 reply	other threads:[~2011-05-06 12:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201105061403.28674.patrick.haecker@lss.uni-stuttgart.de \
    --to=patrick.haecker@lss.uni-stuttgart.de \
    --cc=git@vger.kernel.org \
    /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).