本地项目上传到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
作者:孟繁贵 Email:meng010387@126.com 期待共同进步!