Git An introduction to Git #21

commit - write changes to the repository

To commit changes to the local repository, use git commit /file/:

$ git commit README
Created commit d930ee1: Test modification.
 1 files changed, 2 insertions(+), 0 deletions(-)
$ 

Usually prompted for a log message

Can also use git commit /dir/ to commit all changes in a directory:

$ git commit .
$ git commit test
Copyright © 2009
http://www.pmichaud.com/2009/pres/