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

标签 git github

我想与一个在他们的私有(private)服务器上使用 git 的团队合作。我需要从那里的服务器推送和 pull 什么?我有win7,我需要什么?我在 github 找到了下载在 git .

最佳答案

我会推荐 latest from git-for-windows ( which 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 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/

相关文章:

git - 致命: bad numeric config value 'white' for 'color.status' : invalid unit

git - 无法连接到 github.com 端口 443 : Operation timed out

GitHub:如何将公共(public)存储库的分支设为私有(private)?

显示 user.name 的 git 命令没有给出任何结果

git - MKS Integrity 能否与其他源代码控制工具集成? (SVN, Git...)

git - 我如何使用git进行部署?

git - 在不丢失更新的提交的情况下恢复到上次稳定的提交

git - 需要 GIT 工作流程建议

windows - Pycharm GitHub 'Push failed: fatal: Authentication failed'

android - android内核和vanilla linux内核之间的补丁差异