git完整使用
git config --global user.name "lannyMa"git config --global user.email "ihorse@foxmail.com"
git config --global color.status auto
git config --list
配置文件:
root@lanny:~# cat .gitconfig
git clone https://github.com/lannyMa/lannyblog.git
cd lannyblog
echo "Based on the RHEL&Centos system" > features
git add features
git commit -m "add features"
git push -u origin master
页:
[1]