- 安装
- yum install git
- 验证
- [root@localhost ~]# git --version
- git version 1.8.3.1
- [root@localhost ~]#
- 配置基本信息
- //配置基本信息
- [root@localhost ~]# git config --global user.name "flymegoc"
- [root@localhost ~]# git config --global user.email 343672271@qq.com
- //查看配置
- [root@localhost ~]# git config --list
- user.name=flymegoc
- user.email=343672271@qq.com
- [root@localhost ~]#