-
Notifications
You must be signed in to change notification settings - Fork 362
Translate 10-git-internals environment #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@qinglangee [source,console] 这种地方要保留原文啊,不能改标点为中文的。 |
好了,改回去了,因为在我本地编译了一下,不识别英文的,只识别中文的逗号 |
@qinglangee 这种问题在后期统一处理。 |
注意一个问题,提交的 Pull Request 右上角显示的增加删除行数应是一致的。 |
Git always runs inside a `bash` shell, and uses a number of shell environment variables to determine how it behaves. | ||
Occasionally, it comes in handy to know what these are, and how they can be used to make Git behave the way you want it to. | ||
This isn't an exhaustive list of all the environment variables Git pays attention to, but we'll cover the most useful. | ||
Git 总是在一个 `bash` shell 中运行,并用一些 shell 环境变量来决定它的运行方式。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
并借助一些 shell 环境变量....
*`HOME`* isn't usually considered customizable (too many other things depend on it), but it's where Git looks for the global configuration file. | ||
If you want a truly portable Git installation, complete with global configuration, you can override `HOME` in the portable Git's shell profile. | ||
*`HOME`* 通常不会考虑修改这个变量(太多其它东西都依赖它),这是 Git 查找全局配置文件的地方。 | ||
如果你想要一个真正的便携版 Git, 包括全局配置, 你可以在便携版 Git 的 shell 配置中覆盖 `HOME` 设置。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果你想要一个真正的便携版 Git, 包括全局配置=》如果你想要一个包括全局配置的真正的便携版 Git,
@qinglangee 已完成 |
@qinglangee 请及时修正,另外,请加入 QQ 群:ProGit 2nd 翻译审校 463550926 |
@IceNature 已修改. |
*`GIT_EXEC_PATH`* determines where Git looks for its sub-programs (like `git-commit`, `git-diff`, and others). | ||
You can check the current setting by running `git --exec-path`. | ||
*`GIT_EXEC_PATH`* 决定 Git 到哪找它的子程序 (像 `git-commit`, `git-diff` 等等)。 | ||
用可以用 `git --exec-path` 来查看当前设置. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用可以用 此处应该是笔误,应该为可以使用
@qinglangee 完成审校,九个小的修改意见 |
Translate 10-git-internals environment
@qinglangee @vangie @IceNature @jeffsui 已合并入主干。 |
第二次提交,与06-3分开
Translate 10-git-internals environment