一.所有更新一起推送

1.git init //初始化本地仓库

2. git add .  //添加全部文件

3. git commit -m "init commit"   //提交修改创建时间点

4.git status //查看是否还有未提交的

5.git remote add origin 你的仓库地址  //江远程仓库关联到origin名称上 

6.git push origin master //将添加的内容推送到远程仓库
7. 如果步骤六 不可以 可以尝试 git push -f origin master 推送

 

 

git init    #初始化本地文件
git add .    #添加全部文件(git  add  -A)
git commit -m 'add all the file'    #提交修改
git status    #查看是否还有未提交
git remote  add  origin  你的仓库地址    #远程仓库关联到origin名称上
git push origin master    #将add内容推送到远程仓库

 

相关文章:

  • 2021-11-29
  • 2022-12-23
  • 2021-06-02
  • 2021-10-19
  • 2021-10-31
  • 2021-08-06
  • 2021-12-05
  • 2021-06-16
猜你喜欢
  • 2022-12-23
  • 2021-12-12
  • 2021-06-18
  • 2022-12-23
  • 2021-05-25
  • 2022-12-23
  • 2021-07-14
相关资源
相似解决方案