答案 0 :(得分:7)
我会推荐latest from git-for-windows(which will replace old msysgit soon,并会包含a more recent bash):
C:\path\to\PortableGit-2.4.5.1-4th-release-candidate-64-bit\bin
添加到您的%PATH%
<PortableGit-2.4.5.1-4th-release-candidate-64-bit>\git-cmd.bat
(常规CMD会话)或<PortableGit-2.4.5.1-4th-release-candidate-64-bit>\git-bash.bat
(shell unix会话)型:
git config --global user.name <yourUsername>
git config --global user.email <yourEmail>
git config --global core.autocrlf false
你很高兴 如果您有权访问该私人服务器,则可以将其克隆(ssh或https url)。