Git是一个高效的项目版本管理工具。具体的安装步骤如下:
1.从官网(https://git-scm.com/downloads
)下载最新版本的Git。
downloads
2.双击下载好的Git安装包,弹出提示框,点击“Next”。
Information
3.Select Destination Location(选择安装路径),点击“Next”。
Select Destination Location
4.勾选配置窗口,点击“Next”。
Windows Explorer integration:Windows资源管理器(集成鼠标右键菜单)
Select Components
5.Select Start Menu Folder(添加开始菜单),点击“Next”。
Select Start Menu Folder
6.选择Git的默认编辑器,点击“Next”。
Use Vim (the ubiquitous text editor) as Git's default editor:使用Vim作为Git的默认编辑器
Choosing the default editor used by Git
7.配置PATH环境变量,点击“Next”。
Adjusting your PATH environment
8.选择SSH客户端,点击“Next”。
Choosing the SSH executable
9.选择HTTPS传输,点击“Next”。
Choosing HTTPS transport backend
10.配置行结束符,点击“Next”。
Configuring the line ending conversions
11.配置终端模拟器,点击“Next”。
Configuring the terminal emulator to use with Git Bash
12.配置git pull的默认操作,点击“Next”。
Choose the default behavior of 'git pull'
13.配置额外的特性,点击“Next”。
Configuring extra options
14.配置一些实验性的特性,点击“Install”。
Configuring experimental options
15.安装完成。
Installing
示例代码下载
更多示例代码请到GitHub: https://github.com/Jackyyans/code123
下载,持续更新,欢迎关注。