Update pages/common/git-commit.md

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
manned-org^2
CleanMachine1 2021-06-07 21:06:38 +01:00
parent 6814b4352b
commit c56a28bc7f
1 changed files with 1 additions and 1 deletions

View File

@ -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`