git完整使用


git config --global user.name "lannyMa"

git config --global user.email "[email protected]"

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


你可能感兴趣的:(github,git,完整使用)