Skip to content

Commit

Permalink
fix #issues463 8.2章 输出代码翻译错误
Browse files Browse the repository at this point in the history
  • Loading branch information
hasban12138 authored and networm committed Dec 2, 2023
1 parent 12d8485 commit 5f39359
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions book/08-customizing-git/sections/attributes.asc
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@ Last commit date: Tue Apr 21 08:38:48 2009 -0700 by Scott Chacon
$ echo '$Format:Last commit: %h by %aN at %cd%n%+w(76,6,9)%B$' > LAST_COMMIT
$ git commit -am 'export-subst uses git log'\''s custom formatter
git archive 直接使用 git log`pretty=format:`
处理器,并在输出中移除两侧的 `$Format:` `$`
标记。
git archive uses git log'\''s `pretty=format:` processor
directly, and strips the surrounding `$Format:` and `$`
markup from the output.
'
$ git archive @ | tar xfO - LAST_COMMIT
Last commit: 312ccc8 by Jim Hill at Fri May 8 09:14:04 2015 -0700
Expand Down

0 comments on commit 5f39359

Please sign in to comment.