Re: [feature request] allow directly committing untracked files
- From
Michal Suchánek <msuchanek@suse.de>
- Date
- Aug 25, 2025, 07:45 UTC
- Message-ID
- <aKwUgSt2MnfRX4K7@kitsune.suse.cz>
- In-Reply-To
- <SYBP282MB2963ABA12BD14594F62E47B08C3CA@SYBP282MB2963.AUSP282.PROD.OUTLOOK.COM>
On Sat, Aug 23, 2025 at 06:45:30AM +0000, Isaac Oscar Gariano wrote:
> 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?
Hello,
if the exposed index gets in your way you can consider some porcelain that hides the index, such as jujutsu.
Thanks
Michal