mirror of https://github.com/CrimsonTome/tldr.git
Update pages/common/git-commit.md
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>manned-org^2
parent
6814b4352b
commit
c56a28bc7f
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue