Github和Git - 在win7中使用git终端需要什么?

vuv*_*uvu 3 git github

我想与在他们的私人服务器上使用git的团队合作.我需要从服务器推送和拉出什么?我得到了win7,我需要什么?我在githubgit上找到了一个下载.

Von*_*onC 7

我会推荐最新从混帐的窗口(它将取代快要老了msysgit,并且将包括一个更近的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会话)
  • 类型:

    git config --global user.name <yourUsername>
    git config --global user.email <yourEmail>
    git config --global core.autocrlf false
    
    Run Code Online (Sandbox Code Playgroud)

你很高兴.
如果您有权访问该私有服务器,则可以克隆它(ssh或https url).