小白兔晒黑了

导航

 

1 创建仓库

2 把项目和远程仓库联系起来在

方法一:

2.1 在本地执行clone

git clone https://github.com/jialuoxi/supermall.git

2.2 将本地代码复制到clone出来的文件夹下 (.git隐藏文件夹不要复制)

2.3 按照 https://www.cnblogs.com/polax/p/7381153.html 配置

2.4

git add .
git commit -m '项目初始化'
git push

 方法二:

创建test仓库后按照提示依次执行以下代码

git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/jialuoxi/test.git
git push -u origin master

 

3 删除仓库

1.打开你要删除的仓库。

2点击要删除仓库的Settings.

3.下拉至底部。

posted on 2020-07-10 14:43  小白兔晒黑了  阅读(137)  评论(0)    收藏  举报