git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "git commit -a" Doesn't Add New Files. Why?
@ 2025-05-27 16:03 Jon Forrest
  2025-05-27 16:31 ` Nico Williams
  2025-05-27 16:43 ` Kristoffer Haugsbakk
  0 siblings, 2 replies; 7+ messages in thread
From: Jon Forrest @ 2025-05-27 16:03 UTC (permalink / raw)
  To: git

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-05-28 23:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-27 16:03 "git commit -a" Doesn't Add New Files. Why? Jon Forrest
2025-05-27 16:31 ` 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

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).