首页 > 其他 > 详细

Git

时间:2020-03-31 13:19:27      阅读:57      评论:0      收藏:0      [点我收藏+]

序言

 

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

 

 

资料

Git

原文:https://www.cnblogs.com/cnki/p/12603196.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!