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