大部分情况,都是从远程仓库clone项目,步骤很简单。

今天要把本地项目初始化到远程仓库的步骤记录下来,其实也很简单,几步就好:

#初始化本地仓库
git init
#将本地内容添加至git索引中
git add .
#将索引添加至本地仓库中
git commit -m "first commit"
#添加远程仓库路径
git remote add origin https://github.com/coderliguoqing/vans.git
#将本地内容push至远程仓库中
git push -u origin master

这样就搞定了

也欢迎大家来看看我的新的后端开发脚手架项目vans,基本的框架已经搭建好了,正在逐步完善中,后续会继续优化,然后提供前后端分离的前端项目,基于vue+elementui

地址:https://github.com/coderliguoqing/vans.git

相关文章:

  • 2022-12-23
  • 2022-02-07
  • 2021-09-22
  • 2021-08-06
  • 2021-07-29
  • 2022-01-23
猜你喜欢
  • 2021-06-21
  • 2021-05-27
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案