本地项目目录下右键 git bash here

github上创建项目

本地项目与git项目关联

git branch --set-upstream-to=origin/https://github.com/MengFangui/wx-h5.git master

git pull

git pull origin master --allow-unrelated-histories

处理冲突

git add .

git commit -m 'init'

git push origin master

相关文章:

  • 2021-08-18
  • 2021-11-13
  • 2022-12-23
  • 2021-12-11
  • 2022-02-14
  • 2022-12-23
  • 2022-01-24
猜你喜欢
  • 2022-02-09
  • 2021-07-09
  • 2020-04-13
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2021-04-16
相关资源
相似解决方案