CentOS 7 安装配置git

来源:互联网 发布:各种字体软件下载 编辑:程序博客网 时间:2024/06/11 15:05
  1. 安装
    yum install git
  2. 验证
    [root@localhost ~]# git --versiongit version 1.8.3.1[root@localhost ~]#
  3. 配置基本信息
    //配置基本信息[root@localhost ~]# git config --global user.name "flymegoc"[root@localhost ~]# git config --global user.email 343672271@qq.com//查看配置[root@localhost ~]# git config --listuser.name=flymegocuser.email=343672271@qq.com[root@localhost ~]#
0 0