--- title: Create a commit tags: commit expertise: beginner author: maciv cover: blog_images/baloons-field.jpg firstSeen: 2021-04-04T14:16:38+03:00 lastUpdated: 2021-04-13T21:10:59+03:00 --- Creates a new commit containing the staged changes. - Use `git commit -m ` to create a new commit with the specified ``. ```shell git commit -m ``` ```shell # Make some changes to files git add . git commit -m "Fix the network bug" # Creates a commit with the message "Fix the network bug" ```