From c56a28bc7f9cfe8b2d33cc21e1fd8184d8d52286 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Mon, 7 Jun 2021 21:06:38 +0100 Subject: [PATCH] Update pages/common/git-commit.md Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> --- pages/common/git-commit.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`