add on to a git commit code example
Example 1: git add commit push one command
# The following command does not add new files, only updated pre-existing ones.
git commit -am "commit all the things" && git push
Example 2: git add commit in one command
git commit -am "message"