1、首先在github上创建一个和你项目名字相同的仓库(我的本地项目叫front1,所以我创建了一个叫做front1的仓库)
2、安装git 用git bash 命令行上传
3、git bash命令行到你的本地项目根目录
4、git init使项目加入git管理
5、git add .(不要漏了“.”),将项目全部内容添加到git。
6、输入git commit -m "first commit"(“git commit -m “提交信息””

7、git remote add origin https://github.com/shench5612390/Test.git(git remote add origin 你自己的https地址),连接你的guthub仓库。
如何把现有项目上传到github上面
8、输入git push -u origin master上传项目到Github。这里会要求输入Github的账号密码,按要求输入就可以。
https://www.cnblogs.com/shenchanghui/p/7184101.html

相关文章:

  • 2021-09-25
  • 2021-11-11
  • 2021-12-23
  • 2021-11-30
  • 2022-01-15
  • 2022-01-02
猜你喜欢
  • 2022-12-23
  • 2021-12-27
  • 2021-05-14
  • 2021-07-18
  • 2021-09-16
相关资源
相似解决方案