How to make a commit ==================== To commit changes to a given code :code:``. First, stage it:: $ git add Now that the file is staged, create a commit:: $ git commit This will open a text editor (a default text editor of your choice can be set). In there write a commit message in the following format:: Save and exit from the text editor and your commit should be applied. Commit message style -------------------- The :code:`` should be short and follow the style: "If this commit is applied it will :code:`` will happen." The :code:`` should include further details and can go over many lines. Here is some good guidance on writing commit messages: https://chris.beams.io/posts/git-commit/ Do not use :code:`git commit -m ""` --------------------------------------------------- It is possible to write a commit message directly as you make the commit by typing:: $ git commit -m This is not recommended as it encourages unclear commit messages.