mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add Verbose Commit Message to til.
This commit is contained in:
10
git/verbose-commit-message.md
Normal file
10
git/verbose-commit-message.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Verbose Commit Message
|
||||||
|
|
||||||
|
Git allows you to display a *diff* of the staged changes in the commit
|
||||||
|
message buffer. This gives you the opportunity to carefully craft your
|
||||||
|
commit message in a way that accurately describes the changes being
|
||||||
|
committed. To display the diff when committing:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ git commit -v
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user