Does git commit -a automatically index all files in a single session, or even when working with a repository? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Does git commit -a automatically index all files in a single session, or even when working with a repository?

29th Oct 2019, 8:03 PM
Anna/Аня
Anna/Аня - avatar
2 Answers
+ 1
Could you explain more ?
29th Oct 2019, 9:12 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
There is such a command in git in the "git commit -a" console that it makes the changed files initialize automatically, and there is no need to add the "git add" command every time, if I enter the command "git commit -a" and close the command line Will there be automatic initialization later?
30th Oct 2019, 3:53 AM
Anna/Аня
Anna/Аня - avatar