瀏覽代碼

Fix commit id, thanks Bryan Bishop.

Jelmer Vernooij 15 年之前
父節點
當前提交
39775667a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/tutorial/2-change-file.txt

+ 1 - 1
docs/tutorial/2-change-file.txt

@@ -55,7 +55,7 @@ previous blob recorded as "spam".
 You won't see it using git log because the head is still the previous
 commit. It's easy to remedy::
 
-  >>> repo.refs['refs/heads/master'] = commit.id
+  >>> repo.refs['refs/heads/master'] = c2.id
 
 Now all git tools will work as expected. Though don't forget that Dulwich is
 still open!