mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
Update pages/common/git-commit.md
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
This commit is contained in:
parent
6814b4352b
commit
c56a28bc7f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue