notchangeworld

这个是在git客户端输入邮箱等信息之的操作:

1、在项目根目录下打开git bash here

2、执行git init

3、git add .  //注意add后面的.的位置

4、在github上new Repository,并复制https地址

5、把本地仓库关联到github上:git remote add origin 复制的https地址

6、git push origin master

然后执行到这里就会报错: error: src refspec master does not match any

然后接着执行:

7、touch README

8、git add README 

9、git commit -m \'...\'

10、git push origin master

执行成功。

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
猜你喜欢
  • 2022-03-09
  • 2021-09-07
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案