{"action":"created","comment":{"url":"https://api.github.com/repos/progit/progit2-zh/pulls/comments/35949163","id":35949163,"diff_hunk":"@@ -58,22 +58,22 @@ cac0cab538b970a37ea1e769cbbde608743bc96d second commit\n fdf4fc3344e67ab068f836878b6c4951e3b15f3d first commit\n ----\n \n-Now, your Git database conceptually looks something like this:\n+至此，我们的 Git 数据库从概念上看起来像这样：\n \n-.Git directory objects with branch head references included.\n-image::images/data-model-4.png[Git directory objects with branch head references included.]\n+.包含分支引用的 Git 目录对象。\n+image::images/data-model-4.png[包含分支引用的 Git 目录对象。]\n \n-When you run commands like `git branch (branchname)`, Git basically runs that `update-ref` command to add the SHA-1 of the last commit of the branch you're on into whatever new reference you want to create.\n+当运行类似于 `git branch (branchname)` 这样的命令时，Git 实际上会运行 `update-ref` 命令，取得当前所在分支最后一个提交对应的 SHA-1 值，并将其加入你想要创建的任何新引用中。\n \n [[_the_head]]\n-==== The HEAD\n+==== HEAD 引用\n \n-The question now is, when you run `git branch (branchname)`, how does Git know the SHA-1 of the last commit?\n-The answer is the HEAD file.\n+现在的问题是，当你执行 `git branch (branchname)` 时，Git 如何知道最后一次提交的 SHA-1 值呢？\n+答案是 HEAD 文件。\n \n-The HEAD file is a symbolic reference to the branch you're currently on.\n-By symbolic reference, we mean that unlike a normal reference, it doesn’t generally contain a SHA-1 value but rather a pointer to another reference.\n-If you look at the file, you'll normally see something like this:\n+HEAD 文件是一个符号引用（symbolic reference），指向目前所在的分支。\n+通常，所谓符号引用并不像普通引用那样包含一个 SHA-1 值，而是一个指向另一个引用的指针。\n+如果查看对应的文件内容，一般而言我们看到的类似这样：","path":"book/10-git-internals/sections/refs.asc","position":92,"original_position":92,"commit_id":"a1013fb66e1b0e6a897e7f509b3a114b9f13088f","original_commit_id":"a1013fb66e1b0e6a897e7f509b3a114b9f13088f","user":{"login":"ZKHelloworld","id":6254209,"avatar_url":"https://avatars.githubusercontent.com/u/6254209?v=3","gravatar_id":"","url":"https://api.github.com/users/ZKHelloworld","html_url":"https://github.com/ZKHelloworld","followers_url":"https://api.github.com/users/ZKHelloworld/followers","following_url":"https://api.github.com/users/ZKHelloworld/following{/other_user}","gists_url":"https://api.github.com/users/ZKHelloworld/gists{/gist_id}","starred_url":"https://api.github.com/users/ZKHelloworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZKHelloworld/subscriptions","organizations_url":"https://api.github.com/users/ZKHelloworld/orgs","repos_url":"https://api.github.com/users/ZKHelloworld/repos","events_url":"https://api.github.com/users/ZKHelloworld/events{/privacy}","received_events_url":"https://api.github.com/users/ZKHelloworld/received_events","type":"User","site_admin":false},"body":"建议1:\r\n对应的文件内容 -> HEAD文件的内容\r\n因为这里其实就是指HEAD文件。","created_at":"2015-07-31T06:26:40Z","updated_at":"2015-07-31T06:26:40Z","html_url":"https://github.com/progit/progit2-zh/pull/137#discussion_r35949163","pull_request_url":"https://api.github.com/repos/progit/progit2-zh/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/comments/35949163"},"html":{"href":"https://github.com/progit/progit2-zh/pull/137#discussion_r35949163"},"pull_request":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/137"}}},"pull_request":{"url":"https://api.github.com/repos/progit/progit2-zh/pulls/137","id":38180089,"html_url":"https://github.com/progit/progit2-zh/pull/137","diff_url":"https://github.com/progit/progit2-zh/pull/137.diff","patch_url":"https://github.com/progit/progit2-zh/pull/137.patch","issue_url":"https://api.github.com/repos/progit/progit2-zh/issues/137","number":137,"state":"open","locked":false,"title":"Translate 10-git-internals refs","user":{"login":"oldsharp","id":980500,"avatar_url":"https://avatars.githubusercontent.com/u/980500?v=3","gravatar_id":"","url":"https://api.github.com/users/oldsharp","html_url":"https://github.com/oldsharp","followers_url":"https://api.github.com/users/oldsharp/followers","following_url":"https://api.github.com/users/oldsharp/following{/other_user}","gists_url":"https://api.github.com/users/oldsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/oldsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oldsharp/subscriptions","organizations_url":"https://api.github.com/users/oldsharp/orgs","repos_url":"https://api.github.com/users/oldsharp/repos","events_url":"https://api.github.com/users/oldsharp/events{/privacy}","received_events_url":"https://api.github.com/users/oldsharp/received_events","type":"User","site_admin":false},"body":"Please kindly have a review and consider merging these contribution. Thanks.","created_at":"2015-06-21T06:43:13Z","updated_at":"2015-07-31T06:26:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f50cb86c2e37c26a8ad969f8935f37cec31e2c9","assignee":null,"milestone":{"url":"https://api.github.com/repos/progit/progit2-zh/milestones/1","html_url":"https://github.com/progit/progit2-zh/milestones/v1.0.0","labels_url":"https://api.github.com/repos/progit/progit2-zh/milestones/1/labels","id":1231002,"number":1,"title":"v1.0.0","description":"所有内容翻译完成并经过审校后合并入主干分支。","creator":{"login":"networm","id":440624,"avatar_url":"https://avatars.githubusercontent.com/u/440624?v=3","gravatar_id":"","url":"https://api.github.com/users/networm","html_url":"https://github.com/networm","followers_url":"https://api.github.com/users/networm/followers","following_url":"https://api.github.com/users/networm/following{/other_user}","gists_url":"https://api.github.com/users/networm/gists{/gist_id}","starred_url":"https://api.github.com/users/networm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/networm/subscriptions","organizations_url":"https://api.github.com/users/networm/orgs","repos_url":"https://api.github.com/users/networm/repos","events_url":"https://api.github.com/users/networm/events{/privacy}","received_events_url":"https://api.github.com/users/networm/received_events","type":"User","site_admin":false},"open_issues":51,"closed_issues":4,"state":"open","created_at":"2015-07-29T06:50:16Z","updated_at":"2015-07-30T13:31:07Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/progit/progit2-zh/pulls/137/commits","review_comments_url":"https://api.github.com/repos/progit/progit2-zh/pulls/137/comments","review_comment_url":"https://api.github.com/repos/progit/progit2-zh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/progit/progit2-zh/issues/137/comments","statuses_url":"https://api.github.com/repos/progit/progit2-zh/statuses/a1013fb66e1b0e6a897e7f509b3a114b9f13088f","head":{"label":"oldsharp:prq-translate-chapter-10-section-03","ref":"prq-translate-chapter-10-section-03","sha":"a1013fb66e1b0e6a897e7f509b3a114b9f13088f","user":{"login":"oldsharp","id":980500,"avatar_url":"https://avatars.githubusercontent.com/u/980500?v=3","gravatar_id":"","url":"https://api.github.com/users/oldsharp","html_url":"https://github.com/oldsharp","followers_url":"https://api.github.com/users/oldsharp/followers","following_url":"https://api.github.com/users/oldsharp/following{/other_user}","gists_url":"https://api.github.com/users/oldsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/oldsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oldsharp/subscriptions","organizations_url":"https://api.github.com/users/oldsharp/orgs","repos_url":"https://api.github.com/users/oldsharp/repos","events_url":"https://api.github.com/users/oldsharp/events{/privacy}","received_events_url":"https://api.github.com/users/oldsharp/received_events","type":"User","site_admin":false},"repo":{"id":32909488,"name":"progit2-zh","full_name":"oldsharp/progit2-zh","owner":{"login":"oldsharp","id":980500,"avatar_url":"https://avatars.githubusercontent.com/u/980500?v=3","gravatar_id":"","url":"https://api.github.com/users/oldsharp","html_url":"https://github.com/oldsharp","followers_url":"https://api.github.com/users/oldsharp/followers","following_url":"https://api.github.com/users/oldsharp/following{/other_user}","gists_url":"https://api.github.com/users/oldsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/oldsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oldsharp/subscriptions","organizations_url":"https://api.github.com/users/oldsharp/orgs","repos_url":"https://api.github.com/users/oldsharp/repos","events_url":"https://api.github.com/users/oldsharp/events{/privacy}","received_events_url":"https://api.github.com/users/oldsharp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oldsharp/progit2-zh","description":"","fork":true,"url":"https://api.github.com/repos/oldsharp/progit2-zh","forks_url":"https://api.github.com/repos/oldsharp/progit2-zh/forks","keys_url":"https://api.github.com/repos/oldsharp/progit2-zh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oldsharp/progit2-zh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oldsharp/progit2-zh/teams","hooks_url":"https://api.github.com/repos/oldsharp/progit2-zh/hooks","issue_events_url":"https://api.github.com/repos/oldsharp/progit2-zh/issues/events{/number}","events_url":"https://api.github.com/repos/oldsharp/progit2-zh/events","assignees_url":"https://api.github.com/repos/oldsharp/progit2-zh/assignees{/user}","branches_url":"https://api.github.com/repos/oldsharp/progit2-zh/branches{/branch}","tags_url":"https://api.github.com/repos/oldsharp/progit2-zh/tags","blobs_url":"https://api.github.com/repos/oldsharp/progit2-zh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oldsharp/progit2-zh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oldsharp/progit2-zh/git/refs{/sha}","trees_url":"https://api.github.com/repos/oldsharp/progit2-zh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oldsharp/progit2-zh/statuses/{sha}","languages_url":"https://api.github.com/repos/oldsharp/progit2-zh/languages","stargazers_url":"https://api.github.com/repos/oldsharp/progit2-zh/stargazers","contributors_url":"https://api.github.com/repos/oldsharp/progit2-zh/contributors","subscribers_url":"https://api.github.com/repos/oldsharp/progit2-zh/subscribers","subscription_url":"https://api.github.com/repos/oldsharp/progit2-zh/subscription","commits_url":"https://api.github.com/repos/oldsharp/progit2-zh/commits{/sha}","git_commits_url":"https://api.github.com/repos/oldsharp/progit2-zh/git/commits{/sha}","comments_url":"https://api.github.com/repos/oldsharp/progit2-zh/comments{/number}","issue_comment_url":"https://api.github.com/repos/oldsharp/progit2-zh/issues/comments{/number}","contents_url":"https://api.github.com/repos/oldsharp/progit2-zh/contents/{+path}","compare_url":"https://api.github.com/repos/oldsharp/progit2-zh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oldsharp/progit2-zh/merges","archive_url":"https://api.github.com/repos/oldsharp/progit2-zh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oldsharp/progit2-zh/downloads","issues_url":"https://api.github.com/repos/oldsharp/progit2-zh/issues{/number}","pulls_url":"https://api.github.com/repos/oldsharp/progit2-zh/pulls{/number}","milestones_url":"https://api.github.com/repos/oldsharp/progit2-zh/milestones{/number}","notifications_url":"https://api.github.com/repos/oldsharp/progit2-zh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oldsharp/progit2-zh/labels{/name}","releases_url":"https://api.github.com/repos/oldsharp/progit2-zh/releases{/id}","created_at":"2015-03-26T05:35:04Z","updated_at":"2015-06-15T11:34:34Z","pushed_at":"2015-07-31T00:35:28Z","git_url":"git://github.com/oldsharp/progit2-zh.git","ssh_url":"git@github.com:oldsharp/progit2-zh.git","clone_url":"https://github.com/oldsharp/progit2-zh.git","svn_url":"https://github.com/oldsharp/progit2-zh","homepage":"https://progit.org/translations/lang/zh","size":159911,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"progit:master","ref":"master","sha":"af9ee732e6977aa621e30c8ceb152375f0911346","user":{"login":"progit","id":95588,"avatar_url":"https://avatars.githubusercontent.com/u/95588?v=3","gravatar_id":"","url":"https://api.github.com/users/progit","html_url":"https://github.com/progit","followers_url":"https://api.github.com/users/progit/followers","following_url":"https://api.github.com/users/progit/following{/other_user}","gists_url":"https://api.github.com/users/progit/gists{/gist_id}","starred_url":"https://api.github.com/users/progit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/progit/subscriptions","organizations_url":"https://api.github.com/users/progit/orgs","repos_url":"https://api.github.com/users/progit/repos","events_url":"https://api.github.com/users/progit/events{/privacy}","received_events_url":"https://api.github.com/users/progit/received_events","type":"Organization","site_admin":false},"repo":{"id":26017730,"name":"progit2-zh","full_name":"progit/progit2-zh","owner":{"login":"progit","id":95588,"avatar_url":"https://avatars.githubusercontent.com/u/95588?v=3","gravatar_id":"","url":"https://api.github.com/users/progit","html_url":"https://github.com/progit","followers_url":"https://api.github.com/users/progit/followers","following_url":"https://api.github.com/users/progit/following{/other_user}","gists_url":"https://api.github.com/users/progit/gists{/gist_id}","starred_url":"https://api.github.com/users/progit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/progit/subscriptions","organizations_url":"https://api.github.com/users/progit/orgs","repos_url":"https://api.github.com/users/progit/repos","events_url":"https://api.github.com/users/progit/events{/privacy}","received_events_url":"https://api.github.com/users/progit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/progit/progit2-zh","description":"","fork":false,"url":"https://api.github.com/repos/progit/progit2-zh","forks_url":"https://api.github.com/repos/progit/progit2-zh/forks","keys_url":"https://api.github.com/repos/progit/progit2-zh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/progit/progit2-zh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/progit/progit2-zh/teams","hooks_url":"https://api.github.com/repos/progit/progit2-zh/hooks","issue_events_url":"https://api.github.com/repos/progit/progit2-zh/issues/events{/number}","events_url":"https://api.github.com/repos/progit/progit2-zh/events","assignees_url":"https://api.github.com/repos/progit/progit2-zh/assignees{/user}","branches_url":"https://api.github.com/repos/progit/progit2-zh/branches{/branch}","tags_url":"https://api.github.com/repos/progit/progit2-zh/tags","blobs_url":"https://api.github.com/repos/progit/progit2-zh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/progit/progit2-zh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/progit/progit2-zh/git/refs{/sha}","trees_url":"https://api.github.com/repos/progit/progit2-zh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/progit/progit2-zh/statuses/{sha}","languages_url":"https://api.github.com/repos/progit/progit2-zh/languages","stargazers_url":"https://api.github.com/repos/progit/progit2-zh/stargazers","contributors_url":"https://api.github.com/repos/progit/progit2-zh/contributors","subscribers_url":"https://api.github.com/repos/progit/progit2-zh/subscribers","subscription_url":"https://api.github.com/repos/progit/progit2-zh/subscription","commits_url":"https://api.github.com/repos/progit/progit2-zh/commits{/sha}","git_commits_url":"https://api.github.com/repos/progit/progit2-zh/git/commits{/sha}","comments_url":"https://api.github.com/repos/progit/progit2-zh/comments{/number}","issue_comment_url":"https://api.github.com/repos/progit/progit2-zh/issues/comments{/number}","contents_url":"https://api.github.com/repos/progit/progit2-zh/contents/{+path}","compare_url":"https://api.github.com/repos/progit/progit2-zh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/progit/progit2-zh/merges","archive_url":"https://api.github.com/repos/progit/progit2-zh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/progit/progit2-zh/downloads","issues_url":"https://api.github.com/repos/progit/progit2-zh/issues{/number}","pulls_url":"https://api.github.com/repos/progit/progit2-zh/pulls{/number}","milestones_url":"https://api.github.com/repos/progit/progit2-zh/milestones{/number}","notifications_url":"https://api.github.com/repos/progit/progit2-zh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/progit/progit2-zh/labels{/name}","releases_url":"https://api.github.com/repos/progit/progit2-zh/releases{/id}","created_at":"2014-10-31T13:43:10Z","updated_at":"2015-07-31T00:39:46Z","pushed_at":"2015-07-31T02:34:35Z","git_url":"git://github.com/progit/progit2-zh.git","ssh_url":"git@github.com:progit/progit2-zh.git","clone_url":"https://github.com/progit/progit2-zh.git","svn_url":"https://github.com/progit/progit2-zh","homepage":null,"size":162479,"stargazers_count":287,"watchers_count":287,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":68,"forks":102,"open_issues":68,"watchers":287,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/137"},"html":{"href":"https://github.com/progit/progit2-zh/pull/137"},"issue":{"href":"https://api.github.com/repos/progit/progit2-zh/issues/137"},"comments":{"href":"https://api.github.com/repos/progit/progit2-zh/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/progit/progit2-zh/statuses/a1013fb66e1b0e6a897e7f509b3a114b9f13088f"}}}}