最佳答案
我会推荐 latest from git-for-windows ( which will replace 和 old msysgit soon ,并将包括 a more recent bash ):
- 解压缩PortableGit-2.4.5.1-4th-release-candidate-64-bit.7z.exe任何你想要的地方
- 添加
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 session )或<PortableGit-2.4.5.1-4th-release-candidate-64-bit>\git-bash.bat
(shell unix session ) 类型:
git config --global user.name <yourUsername> git config --global user.email <yourEmail> git config --global core.autocrlf false
你可以开始了。
如果您有权访问该私有(private)服务器,则可以克隆它(ssh 或 https url)。
关于Github 和 Git - 在 win7 中使用 git 终端需要什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31368789/