git init
ssh-keygen -t rsa -C "352693220@qq.com"
cd /root/.ssh/
vim id_rsa.pub
复制key到github
验证
ssh -T git@github.com
git config --global user.name "longlong7"
git config --global user.email "352693220@qq.com"
git remote add origin git@github.com:longlong7/longlong7.github.io.git // git@github.com:yourName/yourRepo.git
git add README
git commit -m "first commit"
git push origin master