diff --git a/pages/common/git-commit.md b/pages/common/git-commit.md index 80e1a3b1a9..40c27f091f 100644 --- a/pages/common/git-commit.md +++ b/pages/common/git-commit.md @@ -23,6 +23,6 @@ `git commit {{path/to/file1}} {{path/to/file2}}` -- Commit staged files to the repository with a message while allowing the commit be empty: +- Create a commit, even if there are no staged files: `git commit -m "{{message}}" --allow-empty`