how to add and commit at the same time in git code example Example: git add commit in one command git commit -am "message"