前提:已经关联了ssh到本地,不用再输入用户名和密码

知道仓库地址:https://xxx.xxx.com/aiotcloud/yihao01-node-js.git

第一步:进入本地文件夹执行

git init

第二步:提交本地文件

git add .
git commit -m "第一次提交"

第三步:添加到远程仓库

git remote add origin https://xxx.xxx.com/aiotcloud/yihao01-node-js.git

第四步:push

git push -u origin master

 

相关文章:

  • 2022-03-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-04
  • 2022-12-23
  • 2021-10-20
  • 2021-08-05
  • 2020-01-10
  • 2021-11-05
  • 2021-06-07
相关资源
相似解决方案