-
安装
-
在联网情况下
yum -y install git
-
-
配置
-
全局配置(命令行修改)
git config --global user.name "your name" git config --global user.email "your email"
-
全部配置(修改配置文件)
修改 ~/.gitconfig 文件
[user] name = yourName email = yourEmail
-

安装
在联网情况下
yum -y install git
配置
全局配置(命令行修改)
git config --global user.name "your name" git config --global user.email "your email"
全部配置(修改配置文件)
修改 ~/.gitconfig 文件
[user]
name = yourName
email = yourEmail