git

git config --global user.name "hanyuntao"
git config --global user.email "hanyuntaocn@163.com"
git init
git add .
git commit -m "提交文件"
git remote add origin https://github.com/hanyuntao/text.git
git pull --rebase origin master
git push -u origin master
原文地址:https://www.cnblogs.com/medsci/p/12937385.html