CentOS 7 安装配置git

前端之家收集整理的这篇文章主要介绍了CentOS 7 安装配置git前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
  1. 安装
    1. yum install git
  2. 验证
    1. [root@localhost ~]# git --version
    2. git version 1.8.3.1
    3. [root@localhost ~]#
  3. 配置基本信息
    1. //配置基本信息
    2. [root@localhost ~]# git config --global user.name "flymegoc"
    3. [root@localhost ~]# git config --global user.email 343672271@qq.com
    4. //查看配置
    5. [root@localhost ~]# git config --list
    6. user.name=flymegoc
    7. user.email=343672271@qq.com
    8. [root@localhost ~]#

猜你在找的CentOS相关文章