Answer the question
In order to leave comments, you need to log in
What is the difference between git commit and git commit -a?
What is the difference between
git commit
and
git commit -a
Answer the question
In order to leave comments, you need to log in
-a
--all
Tell the command to automatically stage files that have been modified and deleted, but new files you have not told Git about are not affected.
git add <file>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question