1、下载git 地址: https://git-scm.com/
2、安装
3、查看是否安装成功,命令:
git version
返回结果:git version 2.15.1 (Apple Git-101)
4、本地电脑关联到github
1)注册github: https://github.com/ (有账号的自动忽略)
2)Git SSH Key 生成,步骤 :
1> 设置Git的user name和email:
$ git config --global user.name "test"
$ git config --global user.email "test@qq.com"