在要提交的文件夹下右键git bash here
git inin
git config --global user.name "用户名"
git config --global user.email "邮箱"
git add .
git commit -m "备注信息"
git -u push origin master
多次提交仅需要输入6,7,9
git pull origin master:拉取远程代码
git pull origin master --allow-unrelated-histories:远程的记录与本地记录合并
ESC:wq
git init
git add.
git commit -m ""
git remote add origin 链接
git push origin master
git pull origin master
git push origin master
%@PW7CXZCL)Y15I9MN7.png)
(1{}XU}HT0JNHVQ.png)
原文:https://www.cnblogs.com/ycfxxr/p/11704038.html