Commit changes to current branch in git.

Posted by yhuang
Public (Editable by Users)
Shell
None
Edit
# Commit changes only after staging is in a good state.
git commit -m "My changes"

# Automically stage files that have been modified or deleted and commit.
git commit -am "My changes"