[feature request] allow directly committing untracked files
- From
- Isaac Oscar Gariano <isaacoscar@live.com.au>
- Date
- Aug 23, 2025, 06:45 UTC
- Message-ID
- <SYBP282MB2963ABA12BD14594F62E47B08C3CA@SYBP282MB2963.AUSP282.PROD.OUTLOOK.COM>
I often use 'git commit some-file -m 'some message'" to quickly make a commit, but this is annoying as it doesn't work if some-file is untracked, you first have to do 'git add some-file'. It would also be nice to do this with the `-a` option as well. Is there any reason why git does not let you do this? Would people be open to me making a patch that ads this? Would it need to be behind an option for backwards-compatibility?
— Isaac Oscar Gariano