# 1. 在远程新建一个代码仓库(如码云,github..)
    # 2. 将本地代码提交
    git init
    git add *
    git commit -am "first init"
    git remote add origin https://gitee.com/an1993/mmall_learning.git(这里替换为需要的仓库地址)
    git branch
    git push -u  origin master
    git pull
    git push -u -f  origin master

执行完以上步骤基本就可以将本地代码推送到远程仓库了

相关文章:

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