Git下载与安装

一、下载

打开 https://git-scm.com/download/win ,点击 Click here to download。下载速度可能比较慢,可以使用迅雷下载。
image

二、安装

1、双击下载文件会打开一个许可协议,点击下一步就行。
image

2、选择组件:
image

  • Additional icons(附加图标)
    • On the Desktop (桌面图标)
  • Windows Explorer integration (文件浏览器集成)
    • Open Git Bash here(右键菜单显示Git Bash here,Git专用命令行,可使用Linux命令)
    • Open Git GUI here(右键菜单显示Git GUI here,Git图形界面)
  • Git LFS (Large File Support)(大文件支持)
  • Associate .git* configuration files with the default text editor(关联.git*配置文件)
  • Associate .sh files to be run with Bash(关联.sh文件运行Bash)
  • Use a TrueType font in all console windows(在所有控制台使用TrueType字体)
  • Check daily For Git for Windows updates(每日检查更新)
  • (NEW!) Scalar (Git add-on to manage large-scale repositories) (管理大规模仓库的Git add-on)

点击下一步:

3、调整新仓库初始分支名,点击下一步:
image

4、选择git pull默认行为,点击下一步:
image

5、配置实验性选项,点击安装:
image

6、正在安装
image

7、完成
image

posted @ 2023-07-28 08:13  MatroLeox  阅读(532)  评论(0编辑  收藏  举报