Skip to content

Commit 1770610

Browse files
authored
Change message to use imperative present tense
Directly above this example commit message it's stated that one should use the imperative present tense, so I think it's best to show that right away in the following example.
1 parent e96bfdc commit 1770610

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/05-distributed-git/sections/contributing.asc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ Cloning into 'simplegit'...
112112
...
113113
$ cd simplegit/
114114
$ vim lib/simplegit.rb
115-
$ git commit -am 'removed invalid default value'
116-
[master 738ee87] removed invalid default value
115+
$ git commit -am 'remove invalid default value'
116+
[master 738ee87] remove invalid default value
117117
1 files changed, 1 insertions(+), 1 deletions(-)
118118
----
119119

@@ -236,7 +236,7 @@ commit 738ee872852dfaa9d6634e0dea7a324040193016
236236
Author: John Smith <[email protected]>
237237
Date: Fri May 29 16:01:27 2009 -0700
238238
239-
removed invalid default value
239+
remove invalid default value
240240
----
241241

242242
The `issue54..origin/master` syntax is a log filter that asks Git to only show the list of commits that are on the latter branch (in this case `origin/master`) that are not on the first branch (in this case `issue54`).

0 commit comments

Comments
 (0)