Skip to content

Commit 5f39359

Browse files
hasban12138networm
authored andcommitted
fix #issues463 8.2章 输出代码翻译错误
1 parent 12d8485 commit 5f39359

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ Last commit date: Tue Apr 21 08:38:48 2009 -0700 by Scott Chacon
336336
$ echo '$Format:Last commit: %h by %aN at %cd%n%+w(76,6,9)%B$' > LAST_COMMIT
337337
$ git commit -am 'export-subst uses git log'\''s custom formatter
338338
339-
git archive 直接使用 git log`pretty=format:`
340-
处理器,并在输出中移除两侧的 `$Format:` `$`
341-
标记。
339+
git archive uses git log'\''s `pretty=format:` processor
340+
directly, and strips the surrounding `$Format:` and `$`
341+
markup from the output.
342342
'
343343
$ git archive @ | tar xfO - LAST_COMMIT
344344
Last commit: 312ccc8 by Jim Hill at Fri May 8 09:14:04 2015 -0700

0 commit comments

Comments
 (0)