PHPLinuxGit

CentOS 7 安装配置git

2017-04-10  本文已影响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 ~]#
上一篇 下一篇

猜你喜欢

热点阅读