yum install git
yum install git-gui (可选) git config --global user.name "gg"
git config --global user.email [email protected]
cat ~/.gitconfig git init
git pull 增加https远程仓库地址
git remote add origin https://github.com/cgwu/c_cpp.git
git remote set-url origin https://[email protected]/gg/c_cpp.git git commit -am "your message"
git push origin
05-14 00:23