### Add file and commit ```bash git commit -m 'commit message' ``` ### Add file and commit staged file ```bash git commit -am 'insert commit message' ``` ### Amending a commit ```bash git commit --amend 'new commit message' ```