eplh

提示:进入项目文件操作

步骤:

1.git init   ----------初始化git仓库

2.git remote add origin 你的项目地址  ------------------如:https://gitee.com/lh_resource /*** (链接新建仓库)

3.git add .   -------------项目中所有文件保存到缓存

4.git commit -m '对上传文件的注释'  -------- 提交代码

5.git push  -------- 提交到仓库

如提交有问题:

git push origin master -f 表示舍弃线上的文件,强制推送

分类:

技术点:

相关文章:

  • 2021-04-29
  • 2021-05-24
  • 2021-06-01
  • 2021-10-17
  • 2021-12-23
  • 2021-06-27
  • 2021-09-22
  • 2021-04-30
猜你喜欢
  • 2021-08-18
  • 2021-05-19
  • 2021-12-01
  • 2021-07-05
  • 2021-08-15
  • 2021-11-13
  • 2021-08-12
相关资源
相似解决方案