"git commit -a" Doesn't Add New Files. Why?
- From
Jon Forrest <nobozo@gmail.com>
- Date
- May 27, 2025, 16:03 UTC
- Message-ID
- <1014npb$rbl$1@ciao.gmane.io>
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