Git的设置

From KlayGE
Revision as of 20:16, 24 March 2015 by Gongminmin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

你需要先安装git。在Windows上,我推荐Git for windowsTortoiseGit的组合。

在安装Git for windows的时候,有一些设置需要注意:

  1. 在“Select Components”一步,禁用“Windows Explorer Integration”。用TortoiseGit的集成就可以了。
  2. 在“Adjusting your PATH environment”一步,选择“Run Git from the Windows Command Prompt”。
  3. 在“Configuring the line ending conversions”一步,选择“Checkout Windows-style, commit Unix-style line endings”。

安装完成之后,请在Git的设置中加入你的名字和邮件地址。