打赏

本地项目上传到git代码仓库

本地项目目录下右键 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

posted @ 2020-02-06 13:06  孟繁贵  阅读(270)  评论(0)    收藏  举报
TOP