{"action":"created","comment":{"url":"https://api.github.com/repos/progit/progit2-zh/pulls/comments/32080913","id":32080913,"diff_hunk":"@@ -31,26 +27,23 @@ $ git log remotes/origin/master\n $ git log refs/remotes/origin/master\n ----\n \n-They're all equivalent, because Git expands each of them to `refs/remotes/origin/master`.\n+上面的三个命令作用相同，因为 Git 把它们都扩展成 `refs/remotes/origin/master`。\n \n-If you want Git instead to pull down only the `master` branch each time, and not every other branch on the remote server, you can change the fetch line to\n+如果想让 Git 每次只拉取远程的 `master` 分支，而不是远程的所有分支，可以把 `fetch` 行修改为：\n \n [source]\n ----\n fetch = +refs/heads/master:refs/remotes/origin/master\n ----\n \n-This is just the default refspec for `git fetch` for that remote.\n-If you want to do something one time, you can specify the refspec on the command line, too.\n-To pull the `master` branch on the remote down to `origin/mymaster` locally, you can run\n+这只是针对远程的 `git fetch` 操作的默认引用表达式（refspec）。而如果只想做一次该操作，也可以在命令行上指定引用表达式（refspec）。拉取远程的 `master` 分支到本地的 `origin/mymaster` 分支，可以运行：\n \n [source,console]\n ----\n $ git fetch origin master:refs/remotes/origin/mymaster\n ----\n \n-You can also specify multiple refspecs.\n-On the command line, you can pull down several branches like so:\n+也可以指定多个引用表达式（refspec）。像下面的命令行，可以一次拉取远程的多个分支：","path":"book/10-git-internals/sections/refspec.asc","position":61,"original_position":61,"commit_id":"0b85182b706cb716b773ce6c3b45cd30924c6a69","original_commit_id":"0b85182b706cb716b773ce6c3b45cd30924c6a69","user":{"login":"devbean","id":1142097,"avatar_url":"https://avatars.githubusercontent.com/u/1142097?v=3","gravatar_id":"","url":"https://api.github.com/users/devbean","html_url":"https://github.com/devbean","followers_url":"https://api.github.com/users/devbean/followers","following_url":"https://api.github.com/users/devbean/following{/other_user}","gists_url":"https://api.github.com/users/devbean/gists{/gist_id}","starred_url":"https://api.github.com/users/devbean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devbean/subscriptions","organizations_url":"https://api.github.com/users/devbean/orgs","repos_url":"https://api.github.com/users/devbean/repos","events_url":"https://api.github.com/users/devbean/events{/privacy}","received_events_url":"https://api.github.com/users/devbean/received_events","type":"User","site_admin":false},"body":"1. 也可以指定多个引用表达式 -> 你也可以指定多个引用表达式；\r\n2. 像下面的命令行，可以一次拉取远程的多个分支 -> 使用命令行，你可以按照如下的方式拉取多个分支","created_at":"2015-06-10T01:05:38Z","updated_at":"2015-06-10T01:05:38Z","html_url":"https://github.com/progit/progit2-zh/pull/63#discussion_r32080913","pull_request_url":"https://api.github.com/repos/progit/progit2-zh/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/comments/32080913"},"html":{"href":"https://github.com/progit/progit2-zh/pull/63#discussion_r32080913"},"pull_request":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/progit/progit2-zh/pulls/63","id":37283270,"html_url":"https://github.com/progit/progit2-zh/pull/63","diff_url":"https://github.com/progit/progit2-zh/pull/63.diff","patch_url":"https://github.com/progit/progit2-zh/pull/63.patch","issue_url":"https://api.github.com/repos/progit/progit2-zh/issues/63","number":63,"state":"open","locked":false,"title":"Translated 10-git-internals/sections/refspec","user":{"login":"morstar","id":6947015,"avatar_url":"https://avatars.githubusercontent.com/u/6947015?v=3","gravatar_id":"","url":"https://api.github.com/users/morstar","html_url":"https://github.com/morstar","followers_url":"https://api.github.com/users/morstar/followers","following_url":"https://api.github.com/users/morstar/following{/other_user}","gists_url":"https://api.github.com/users/morstar/gists{/gist_id}","starred_url":"https://api.github.com/users/morstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morstar/subscriptions","organizations_url":"https://api.github.com/users/morstar/orgs","repos_url":"https://api.github.com/users/morstar/repos","events_url":"https://api.github.com/users/morstar/events{/privacy}","received_events_url":"https://api.github.com/users/morstar/received_events","type":"User","site_admin":false},"body":"first translation pull request...","created_at":"2015-06-09T18:21:09Z","updated_at":"2015-06-10T01:05:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"36891018d8552ae4f7cd950506dd8c4ff9bc8fb5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/progit/progit2-zh/pulls/63/commits","review_comments_url":"https://api.github.com/repos/progit/progit2-zh/pulls/63/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/63/comments","statuses_url":"https://api.github.com/repos/progit/progit2-zh/statuses/0b85182b706cb716b773ce6c3b45cd30924c6a69","head":{"label":"morstar:master","ref":"master","sha":"0b85182b706cb716b773ce6c3b45cd30924c6a69","user":{"login":"morstar","id":6947015,"avatar_url":"https://avatars.githubusercontent.com/u/6947015?v=3","gravatar_id":"","url":"https://api.github.com/users/morstar","html_url":"https://github.com/morstar","followers_url":"https://api.github.com/users/morstar/followers","following_url":"https://api.github.com/users/morstar/following{/other_user}","gists_url":"https://api.github.com/users/morstar/gists{/gist_id}","starred_url":"https://api.github.com/users/morstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morstar/subscriptions","organizations_url":"https://api.github.com/users/morstar/orgs","repos_url":"https://api.github.com/users/morstar/repos","events_url":"https://api.github.com/users/morstar/events{/privacy}","received_events_url":"https://api.github.com/users/morstar/received_events","type":"User","site_admin":false},"repo":{"id":37108139,"name":"progit2-zh","full_name":"morstar/progit2-zh","owner":{"login":"morstar","id":6947015,"avatar_url":"https://avatars.githubusercontent.com/u/6947015?v=3","gravatar_id":"","url":"https://api.github.com/users/morstar","html_url":"https://github.com/morstar","followers_url":"https://api.github.com/users/morstar/followers","following_url":"https://api.github.com/users/morstar/following{/other_user}","gists_url":"https://api.github.com/users/morstar/gists{/gist_id}","starred_url":"https://api.github.com/users/morstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morstar/subscriptions","organizations_url":"https://api.github.com/users/morstar/orgs","repos_url":"https://api.github.com/users/morstar/repos","events_url":"https://api.github.com/users/morstar/events{/privacy}","received_events_url":"https://api.github.com/users/morstar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/morstar/progit2-zh","description":"","fork":true,"url":"https://api.github.com/repos/morstar/progit2-zh","forks_url":"https://api.github.com/repos/morstar/progit2-zh/forks","keys_url":"https://api.github.com/repos/morstar/progit2-zh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morstar/progit2-zh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morstar/progit2-zh/teams","hooks_url":"https://api.github.com/repos/morstar/progit2-zh/hooks","issue_events_url":"https://api.github.com/repos/morstar/progit2-zh/issues/events{/number}","events_url":"https://api.github.com/repos/morstar/progit2-zh/events","assignees_url":"https://api.github.com/repos/morstar/progit2-zh/assignees{/user}","branches_url":"https://api.github.com/repos/morstar/progit2-zh/branches{/branch}","tags_url":"https://api.github.com/repos/morstar/progit2-zh/tags","blobs_url":"https://api.github.com/repos/morstar/progit2-zh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morstar/progit2-zh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morstar/progit2-zh/git/refs{/sha}","trees_url":"https://api.github.com/repos/morstar/progit2-zh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morstar/progit2-zh/statuses/{sha}","languages_url":"https://api.github.com/repos/morstar/progit2-zh/languages","stargazers_url":"https://api.github.com/repos/morstar/progit2-zh/stargazers","contributors_url":"https://api.github.com/repos/morstar/progit2-zh/contributors","subscribers_url":"https://api.github.com/repos/morstar/progit2-zh/subscribers","subscription_url":"https://api.github.com/repos/morstar/progit2-zh/subscription","commits_url":"https://api.github.com/repos/morstar/progit2-zh/commits{/sha}","git_commits_url":"https://api.github.com/repos/morstar/progit2-zh/git/commits{/sha}","comments_url":"https://api.github.com/repos/morstar/progit2-zh/comments{/number}","issue_comment_url":"https://api.github.com/repos/morstar/progit2-zh/issues/comments{/number}","contents_url":"https://api.github.com/repos/morstar/progit2-zh/contents/{+path}","compare_url":"https://api.github.com/repos/morstar/progit2-zh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morstar/progit2-zh/merges","archive_url":"https://api.github.com/repos/morstar/progit2-zh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morstar/progit2-zh/downloads","issues_url":"https://api.github.com/repos/morstar/progit2-zh/issues{/number}","pulls_url":"https://api.github.com/repos/morstar/progit2-zh/pulls{/number}","milestones_url":"https://api.github.com/repos/morstar/progit2-zh/milestones{/number}","notifications_url":"https://api.github.com/repos/morstar/progit2-zh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morstar/progit2-zh/labels{/name}","releases_url":"https://api.github.com/repos/morstar/progit2-zh/releases{/id}","created_at":"2015-06-09T03:33:04Z","updated_at":"2015-06-09T03:33:05Z","pushed_at":"2015-06-09T18:38:25Z","git_url":"git://github.com/morstar/progit2-zh.git","ssh_url":"git@github.com:morstar/progit2-zh.git","clone_url":"https://github.com/morstar/progit2-zh.git","svn_url":"https://github.com/morstar/progit2-zh","homepage":null,"size":159655,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"89df8389302cb5c442a63cd9ea6c13ee75654764","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-06-08T08:47:59Z","pushed_at":"2015-06-09T18:21:10Z","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":160247,"stargazers_count":121,"watchers_count":121,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":18,"forks":57,"open_issues":18,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/63"},"html":{"href":"https://github.com/progit/progit2-zh/pull/63"},"issue":{"href":"https://api.github.com/repos/progit/progit2-zh/issues/63"},"comments":{"href":"https://api.github.com/repos/progit/progit2-zh/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/63/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/63/commits"},"statuses":{"href":"https://api.github.com/repos/progit/progit2-zh/statuses/0b85182b706cb716b773ce6c3b45cd30924c6a69"}}}}