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