1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:02:09 +02:00

git-commit: add example

This commit is contained in:
CleanMachine1 2021-06-06 12:11:45 +02:00
parent d6ad312c5f
commit 6814b4352b

View file

@ -22,3 +22,7 @@
- Commit only specific (already staged) files:
`git commit {{path/to/file1}} {{path/to/file2}}`
- Commit staged files to the repository with a message while allowing the commit be empty:
`git commit -m "{{message}}" --allow-empty`