1、建立一个文件夹

2、进入文件夹,git init

3、git add 文件 

4、git commit -m ""

5、git remote add origin 远程仓库地址

6、 git push -u origin master 第一次推送

7、 git remote set-url origin https://gitcafe.com/xxx/Help.git设置新的远程仓库地址

8、git checkout 仓库名 切换仓库分支

9、 git remote -v查看关联仓库

git建立远程仓库及gi相关命令

相关文章:

  • 2021-09-11
  • 2021-04-13
  • 2021-05-21
  • 2021-10-25
  • 2022-12-23
  • 2021-12-01
  • 2021-08-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2021-05-19
  • 2021-06-03
  • 2021-10-16
  • 2022-12-23
相关资源
相似解决方案