8000 Adding example to Empty Commits · InfRetry/github-cheat-sheet@51cb710 · GitHub
[go: up one dir, main page]

Skip to content

Commit 51cb710

Browse files
committed
Adding example to Empty Commits
1 parent 8753d95 commit 51cb710

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ Some use-cases for this (that make sense), include:
558558
- Annotating the start of a new bulk of work or a new feature.
559559
- Documenting when you make changes to the project that aren't code related.
560560
- Communicating with people using your repository.
561+
- As the first commit of a repo as the first commit cannot be rebased later. `git commit -m "init repo" --allow-empty`
561562

562563
### Styled Git Status
563564
Running:

0 commit comments

Comments
 (0)
0