git init
git add .
git commit -m "first commit"
git remote add origin '远程git地址'
git push -u origin master
git remote rm origin
git remote add origin '远程git地址'
warning: LF will be replaced by CRLF...的警告
git config --global core.autocrlf false
git pull 失败 ,提示:fatal: refusing to merge unrelated histories
git pull origin master --allow-unrelated-histories