Creates a new commit containing the staged changes.
git commit -m <message>
to create a new commit with the specified <message>
.git commit -m <message>
# Make some changes to files
git add .
git commit -m "Fix the network bug"
# Creates a commit with the message "Fix the network bug"
Git, Commit
Creates a new commit skipping the pre-commit and commit-msg hooks.
Git, Commit
Displays differences between staged or unstaged changes and the last commit.
Git, Commit
Creates a new commit by the specified author.