public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* basics - auto staging?
@ 2025-04-30 10:18 Marcin Mikłas
  2025-04-30 16:44 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Mikłas @ 2025-04-30 10:18 UTC (permalink / raw)
  To: git

Hello,

when I execute
git commit file.txt
(by listing file as argumentbut without the -a switch) for a file 
file.txt that I have made changes without staged them in the index, the 
changes are still commited.
Is there a way to make this work like command
git commit
without committing the changes that are not staged in the index?

Best
Marcin


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

end of thread, other threads:[~2025-04-30 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-30 10:18 basics - auto staging? Marcin Mikłas
2025-04-30 16:44 ` 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