{"action":"created","comment":{"url":"https://api.github.com/repos/progit/progit2-zh/pulls/comments/33869743","id":33869743,"diff_hunk":"@@ -1,28 +1,28 @@\n [[_first_time]]\n-=== First-Time Git Setup\n+=== 初次运行 Git 前的配置\n \n-Now that you have Git on your system, you'll want to do a few things to customize your Git environment.\n-You should have to do these things only once on any given computer; they'll stick around between upgrades.\n-You can also change them at any time by running through the commands again.\n+既然你已经在你的系统上安装了 Git，你会想要做几件事情来定制你的 Git 环境。\n+你在每一台计算机上只需要做这些事一次；它们会在升级时保留下来。\n+你可以在任何时候再次通过运行命令来修改它们。\n \n-Git comes with a tool called `git config` that lets you get and set configuration variables that control all aspects of how Git looks and operates.(((git commands, config)))\n-These variables can be stored in three different places:\n+Git 自带一个 `git config` 的工具来帮助你设置决定 Git 外观和行为的配置变量。(((git commands, config)))\n+这些变量存储在三个不同的位置：\n \n-1. `/etc/gitconfig` file: Contains values for every user on the system and all their repositories.\n-  If you pass the option `--system` to `git config`, it reads and writes from this file specifically.\n-2. `~/.gitconfig` or `~/.config/git/config` file: Specific to your user.\n-  You can make Git read and write to this file specifically by passing the `--global` option.\n-3. `config` file in the Git directory (that is, `.git/config`) of whatever repository you're currently using: Specific to that single repository.\n+1. `/etc/gitconfig` 文件: 包含系统上每一个用户及他们仓库的通用配置。\n+  若使用带有 `--system` 选项的 `git config` 时，它会从此文件读写配置变量。\n+2. `~/.gitconfig` 或 `~/.config/git/config` 文件：特定针对你的用户。","path":"book/01-introduction/sections/first-time-setup.asc","position":24,"original_position":24,"commit_id":"f5086bf9167b76de5e5c731002cbe7370fa93b5d","original_commit_id":"f5086bf9167b76de5e5c731002cbe7370fa93b5d","user":{"login":"robinwen","id":6106393,"avatar_url":"https://avatars.githubusercontent.com/u/6106393?v=3","gravatar_id":"","url":"https://api.github.com/users/robinwen","html_url":"https://github.com/robinwen","followers_url":"https://api.github.com/users/robinwen/followers","following_url":"https://api.github.com/users/robinwen/following{/other_user}","gists_url":"https://api.github.com/users/robinwen/gists{/gist_id}","starred_url":"https://api.github.com/users/robinwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinwen/subscriptions","organizations_url":"https://api.github.com/users/robinwen/orgs","repos_url":"https://api.github.com/users/robinwen/repos","events_url":"https://api.github.com/users/robinwen/events{/privacy}","received_events_url":"https://api.github.com/users/robinwen/received_events","type":"User","site_admin":false},"body":"我认为可以不翻译\"specific\"这个词，因为\"当前用户\"已经可以表达原文含义了。","created_at":"2015-07-03T15:07:44Z","updated_at":"2015-07-03T15:07:44Z","html_url":"https://github.com/progit/progit2-zh/pull/150#discussion_r33869743","pull_request_url":"https://api.github.com/repos/progit/progit2-zh/pulls/150","_links":{"self":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/comments/33869743"},"html":{"href":"https://github.com/progit/progit2-zh/pull/150#discussion_r33869743"},"pull_request":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/150"}}},"pull_request":{"url":"https://api.github.com/repos/progit/progit2-zh/pulls/150","id":38531675,"html_url":"https://github.com/progit/progit2-zh/pull/150","diff_url":"https://github.com/progit/progit2-zh/pull/150.diff","patch_url":"https://github.com/progit/progit2-zh/pull/150.patch","issue_url":"https://api.github.com/repos/progit/progit2-zh/issues/150","number":150,"state":"open","locked":false,"title":"Translate 01-introduction first-time-setup v2","user":{"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},"body":"","created_at":"2015-06-25T10:13:46Z","updated_at":"2015-07-03T15:07:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8cb1cb6dc8acc66c3ec3f7998733eba3e4b70806","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/progit/progit2-zh/pulls/150/commits","review_comments_url":"https://api.github.com/repos/progit/progit2-zh/pulls/150/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/150/comments","statuses_url":"https://api.github.com/repos/progit/progit2-zh/statuses/f5086bf9167b76de5e5c731002cbe7370fa93b5d","head":{"label":"networm:01-introduction_first-time-setup","ref":"01-introduction_first-time-setup","sha":"f5086bf9167b76de5e5c731002cbe7370fa93b5d","user":{"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},"repo":{"id":28445173,"name":"progit2-zh","full_name":"networm/progit2-zh","owner":{"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},"private":false,"html_url":"https://github.com/networm/progit2-zh","description":"","fork":true,"url":"https://api.github.com/repos/networm/progit2-zh","forks_url":"https://api.github.com/repos/networm/progit2-zh/forks","keys_url":"https://api.github.com/repos/networm/progit2-zh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/networm/progit2-zh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/networm/progit2-zh/teams","hooks_url":"https://api.github.com/repos/networm/progit2-zh/hooks","issue_events_url":"https://api.github.com/repos/networm/progit2-zh/issues/events{/number}","events_url":"https://api.github.com/repos/networm/progit2-zh/events","assignees_url":"https://api.github.com/repos/networm/progit2-zh/assignees{/user}","branches_url":"https://api.github.com/repos/networm/progit2-zh/branches{/branch}","tags_url":"https://api.github.com/repos/networm/progit2-zh/tags","blobs_url":"https://api.github.com/repos/networm/progit2-zh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/networm/progit2-zh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/networm/progit2-zh/git/refs{/sha}","trees_url":"https://api.github.com/repos/networm/progit2-zh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/networm/progit2-zh/statuses/{sha}","languages_url":"https://api.github.com/repos/networm/progit2-zh/languages","stargazers_url":"https://api.github.com/repos/networm/progit2-zh/stargazers","contributors_url":"https://api.github.com/repos/networm/progit2-zh/contributors","subscribers_url":"https://api.github.com/repos/networm/progit2-zh/subscribers","subscription_url":"https://api.github.com/repos/networm/progit2-zh/subscription","commits_url":"https://api.github.com/repos/networm/progit2-zh/commits{/sha}","git_commits_url":"https://api.github.com/repos/networm/progit2-zh/git/commits{/sha}","comments_url":"https://api.github.com/repos/networm/progit2-zh/comments{/number}","issue_comment_url":"https://api.github.com/repos/networm/progit2-zh/issues/comments{/number}","contents_url":"https://api.github.com/repos/networm/progit2-zh/contents/{+path}","compare_url":"https://api.github.com/repos/networm/progit2-zh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/networm/progit2-zh/merges","archive_url":"https://api.github.com/repos/networm/progit2-zh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/networm/progit2-zh/downloads","issues_url":"https://api.github.com/repos/networm/progit2-zh/issues{/number}","pulls_url":"https://api.github.com/repos/networm/progit2-zh/pulls{/number}","milestones_url":"https://api.github.com/repos/networm/progit2-zh/milestones{/number}","notifications_url":"https://api.github.com/repos/networm/progit2-zh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/networm/progit2-zh/labels{/name}","releases_url":"https://api.github.com/repos/networm/progit2-zh/releases{/id}","created_at":"2014-12-24T10:12:38Z","updated_at":"2015-06-08T04:01:30Z","pushed_at":"2015-07-03T08:18:12Z","git_url":"git://github.com/networm/progit2-zh.git","ssh_url":"git@github.com:networm/progit2-zh.git","clone_url":"https://github.com/networm/progit2-zh.git","svn_url":"https://github.com/networm/progit2-zh","homepage":null,"size":159849,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"progit:master","ref":"master","sha":"e5c830698c65c0959863398ad65ad5a11a58c7dd","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-03T05:36:31Z","pushed_at":"2015-07-03T08:18:21Z","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":161414,"stargazers_count":238,"watchers_count":238,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":95,"mirror_url":null,"open_issues_count":74,"forks":95,"open_issues":74,"watchers":238,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/150"},"html":{"href":"https://github.com/progit/progit2-zh/pull/150"},"issue":{"href":"https://api.github.com/repos/progit/progit2-zh/issues/150"},"comments":{"href":"https://api.github.com/repos/progit/progit2-zh/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/progit/progit2-zh/pulls/150/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/150/commits"},"statuses":{"href":"https://api.github.com/repos/progit/progit2-zh/statuses/f5086bf9167b76de5e5c731002cbe7370fa93b5d"}}}}