Git commit -a question

Posted by ben on Stack Overflow See other posts from Stack Overflow or by ben
Published on 2010-05-11T03:28:07Z Indexed on 2010/05/11 3:34 UTC
Read the original article Hit count: 397

Filed under:
|

What is the difference between:

git commit -m "added a new page"

and

git commit -a -m "added a new page"

I know that the -a option will stage files that have been modified and deleted, but then what does running it without the -a mean?

Thanks for reading.

© Stack Overflow or respective owner

Related posts about git

Related posts about commit