public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* [feature request] allow directly committing untracked files
@ 2025-08-23  6:45 Isaac Oscar Gariano
  2025-08-23 15:43 ` brian m. carlson
  2025-08-25  7:45 ` Michal Suchánek
  0 siblings, 2 replies; 3+ messages in thread
From: Isaac Oscar Gariano @ 2025-08-23  6:45 UTC (permalink / raw)
  To: git@vger•kernel.org

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​



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

end of thread, other threads:[~2025-08-25  7:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-23  6:45 [feature request] allow directly committing untracked files Isaac Oscar Gariano
2025-08-23 15:43 ` brian m. carlson
2025-08-25  7:45 ` Michal Suchánek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox