主仓库作为服务器


1新建仓库
(1)仓库名字要和用户名一致加上wii110.github.io
(2)删除之前的配置仓库git remote remove origin
(3)配置现在的仓库名地址git remote add wangwei https://github.com/wii110/newck1.git
(4)git push -u wangwei master
五如何获取远端项目
git clone [远端仓库地址]
git clone --no-checkout [远端仓库地址] 新文件的名字
git clone --bare [远端仓库地址] 克隆裸仓库 .git的仓库信息文件

posted on 2021-08-09 17:10  想起就不爽  阅读(52)  评论(0编辑  收藏  举报

导航