git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Forrest <nobozo@gmail.com>
To: git@vger.kernel.org
Subject: "git commit -a" Doesn't Add New Files. Why?
Date: Tue, 27 May 2025 09:03:55 -0700	[thread overview]
Message-ID: <1014npb$rbl$1@ciao.gmane.io> (raw)

The documentation clearly says that running "git commit -a"
doesn't add new files to the index. I wonder why that choice
was made.

Would the addition of "git commit -A" (note the capital letter)
that works the same as "git commit -a", except that new files
are also added be something you'd consider?

Cordially,
Jon Forrest



             reply	other threads:[~2025-05-27 16:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-27 16:03 Jon Forrest [this message]
2025-05-27 16:31 ` "git commit -a" Doesn't Add New Files. Why? Nico Williams
2025-05-28 22:24   ` Junio C Hamano
2025-05-28 23:06     ` Jon Forrest
2025-05-27 16:43 ` Kristoffer Haugsbakk
2025-05-28 21:16   ` Junio C Hamano
2025-05-28 23:34   ` Junio C Hamano

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='1014npb$rbl$1@ciao.gmane.io' \
    --to=nobozo@gmail.com \
    --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).