美文网首页
如何在windows下安装git

如何在windows下安装git

作者: 爱睡觉的小章鱼 | 来源:发表于2019-09-17 09:03 被阅读0次

    1.首先打开git的官网,链接:https://git-scm.com/download/win,选择如下框中的下载链接

    2.下载好了后,双击exe文件,弹框选择next

    3.修改安装路径,继续点击next

    4.勾选Additional icons和Windows Explorer integration,继续点击next

    5.继续点击next

    6.选择第二个选项  Git from the command line and also from 3rd-party software,继续点击next

    7.在Choosing HTTPS transport backend 中选择默认,选择本地库与远程库的连接方式,OpenSSL更加通用。

    8.在“Configuring the line ending conversions”选项中,第一个选项:是跨平台项目,在windows系统安装;第二个选项:是跨平台项目,在Unix系统安装;第三个选项:非跨平台项目。我选择的是第一个选项

    9.在Configuring the terminal emulator to use with Git Bash中选择默认,使用git bash自带的终端。

    10.在Configuring extra options中选择默认,启用文件缓存提高执行效率,启用git授权管理器;然后点击“Install”开始安装。如果之前安装过旧版本,会先卸载然后再安装新版本。

    11.安装完成后点击“finish”即可,你会发现在桌面上多了一个Git Bash应用

    12.在cmd中输入git --version,显示git版本,说明git已经安装成功了

    相关文章

      网友评论

          本文标题:如何在windows下安装git

          本文链接:https://www.haomeiwen.com/subject/xfxjyctx.html