centos安装git

https://www.jianshu.com/p/e6ecd86397fb

  1. 安装
 yum install git
  1. 验证
[root@localhost ~]# git --version
git version 1.8.3.1
[root@localhost ~]#
  1. 配置基本信息
//配置基本信息
[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 ~]#



posted @ 2020-07-21 10:59  十里坡剑神—》》》》  阅读(130)  评论(0)    收藏  举报