2015-07-12 61 views

回答

7

我會建議latest from git-for-windowswhich will replaceold 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會話)或<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 
    

,你是好去。
如果您有權訪問該專用服務器,則可以將其克隆(ssh或https url)。