拷贝忽略文件.gitattributes .gitignore
git remote rm origin
提交git
git init
git add .
git commit -m ‘初始化‘
git remote add origin https://github.com/664142818/react-demos.git
git pull origin master
git push -u origin master
使用强制push的方法(多人协作会导致代码丢失不推荐)
git push -u origin master -f
clone代码
git clone https://github.com/664142818/react-demos.git
原文:https://www.cnblogs.com/cnki/p/12603196.html