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