1、首先在Github中创建一个私有仓库,比如是 git_test,如下图:如何把本地项目上传到GitHub中

2、通过 git clone https://yoururl.test.git 把你的项目克隆下来。

3、把你的项目的文件全部拷贝到克隆下来的test文件夹中,然后执行 "git  add ."命令,加入到 仓库中。

4、直接提交“git commit -m "提交信息"”。

5、提交到远程服务中,git push -m origin master,OK,完成。

6、后续介绍其他方式。

相关文章:

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