美文网首页PHPLinuxGit
CentOS 7 安装配置git

CentOS 7 安装配置git

作者: 我是一座离岛 | 来源:发表于2017-04-10 09:51 被阅读3473次
  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 ~]#

相关文章

网友评论

    本文标题:CentOS 7 安装配置git

    本文链接:https://www.haomeiwen.com/subject/xrfsattx.html