Git
时间:2020-03-31 13:19:27
收藏:0
阅读:57
序言
Git
拷贝忽略文件.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
评论(0)