We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbbd539 commit e9818a9Copy full SHA for e9818a9
book/B-embedding-git/sections/libgit2.asc
@@ -99,7 +99,7 @@ commit = repo.lookup(commit_id) # <8>
99
<2> 将 HEAD 提交树填入索引,并在路径 `newfile.txt` 增加新文件。
100
<3> 这就在 ODB 中创建了一个新的树,并在一个新的提交中使用它。
101
<4> 我们在 author 栏和 committer 栏使用相同的签名。
102
-<5> 提交信息。
+<5> 提交的信息。
103
<6> 当创建一个提交时,你必须指定这个新提交的父提交。
104
这里使用了 HEAD 的末尾作为单一的父提交。
105
<7> 在做一个提交的过程中, Rugged (和 Libgit2 )能在需要时更新引用。
0 commit comments