git使用手册

it2022-05-05  152

一.     场景:本地项目(复制的),上传另一个gitHub仓库

1)删除项目中的  .git 文件;

2)点击项目,右键,git bash here;

3) git add.;

4)git commit -m "commit to a new repository";

5) git remote add origin  新仓库的https地址;

6)git push -u origin master;//默认分支


最新回复(0)