diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2016-01-08 11:21:54 -0800 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2016-01-08 11:21:54 -0800 |
commit | 6053d313ce3abe876c7d05574effab438ce5e410 (patch) | |
tree | 0ff96b8118d625e57123a42e6582b9f0e0575583 /source/blog/2015-08-05-switching-to-capitalized-commit-messages.md | |
parent | d484ca3946753a6dda8f37bb3a2529fc06294fc5 (diff) | |
download | my_new_personal_website-6053d313ce3abe876c7d05574effab438ce5e410.tar.xz my_new_personal_website-6053d313ce3abe876c7d05574effab438ce5e410.zip |
Markdown source files: Use ... to end YAML metadata block
Also add a newline after the metadata block.
... is easier on markdown-mode; if --- is used, the line immediately
above it will be treated as a setext header and highlighted, which isn't
so easy on the eyes.
Diffstat (limited to 'source/blog/2015-08-05-switching-to-capitalized-commit-messages.md')
-rw-r--r-- | source/blog/2015-08-05-switching-to-capitalized-commit-messages.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blog/2015-08-05-switching-to-capitalized-commit-messages.md b/source/blog/2015-08-05-switching-to-capitalized-commit-messages.md index 04a018f5..f5815d41 100644 --- a/source/blog/2015-08-05-switching-to-capitalized-commit-messages.md +++ b/source/blog/2015-08-05-switching-to-capitalized-commit-messages.md @@ -2,7 +2,8 @@ title: "Switching to capitalized commit messages" date: 2015-08-05T19:38:37-07:00 date_display: August 5, 2015 ---- +... + This post is a note to self. As a long time git user, I've always used lowercase commit messages (in the subject line). I never quite liked the idea of capitalized commit messages, which are seldom complete sentences (and they are never period-terminated). Similarly, I avoid capilatization like hell in comments, unless when I write complete sentences. By the way, there's a technical advantage of writing lowercase commit messages: I can easily tell my human-made commits from auto commits like merge and revert commits, because they always begin with a capitalized "Merge", "Revert", etc. |