10000 Add use-cases for empty commits, thanks to @davej :yellow_heart: · s30java/github-cheat-sheet@c492824 · GitHub
[go: up one dir, main page]

Skip to content

Commit c492824

Browse files
author
Rafal Chmiel
committed
Add use-cases for empty commits, thanks to @davej 💛
1 parent a657ee1 commit c492824

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,12 @@ Commits can be pushed with no code changes by adding `--allow-empty`:
427427
$ git commit -m "Big-ass commit" --allow-empty
428428
```
429429

430+
Some use-cases for this (that make sense), include:
431+
432+
- Annotating the start of a new bulk of work or a new feature.
433+
- Documenting when you make changes to the project that aren't code related.
434+
- Communicating with people using your repository.
435+
430436
### Styled Git Status
431437
Running:
432438

0 commit comments

Comments
 (0)
0