Skip to content

Home

Create a commit

Creates a new commit containing the staged changes.

git commit -m <message>

# Examples
# Make some changes to files
git add .
git commit -m "Fix the network bug"
# Creates a commit with the message "Fix the network bug"

More like this

Start typing a keyphrase to see matching snippets.