2 examples for git commit
# Adds all currently-tracked, modified files to staging and commits them with the message 'some git commit message' # -a : includes all modified files in the commit # -m : specifies the commit message following the flag, instead of using the editor git commit -am 'some git commit message'