[Solved] If a file is being tracked and you modify it, can you commit without adding?

[ad_1]

Yes. If you issue:

git commit -m "message" /file/to/save.c

save.c will be added and committed alone, provided that it is already tracked by Git.

You can find it mentioned in the Git commit manual page (point 3 of the first list).

4

[ad_2]

solved If a file is being tracked and you modify it, can you commit without adding?