您的位置:首页 > 运维架构 > Linux

CentOS 7 安装配置git

2017-04-17 22:44 211 查看
安装
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 ~]#
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: