Skip to content

Commit f908b70

Browse files
committed
added escaped quotation marks for git commit's message.
It is necessary to escape quotation marks in the git message, otherwise it ends the commit's message.
1 parent 3ae4705 commit f908b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/08-customizing-git/sections/attributes.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,9 @@ The substitutions can include for example the commit message and any `git notes`
329329
[source,console]
330330
----
331331
$ echo '$Format:Last commit: %h by %aN at %cd%n%+w(76,6,9)%B$' > LAST_COMMIT
332-
$ git commit -am 'export-subst uses git log's custom formatter
332+
$ git commit -am 'export-subst uses git log'\''s custom formatter
333333
334-
git archive uses git log's `pretty=format:` processor
334+
git archive uses git log'\''s `pretty=format:` processor
335335
directly, and strips the surrounding `$Format:` and `$`
336336
markup from the output.
337337
'

0 commit comments

Comments
 (0)