具体操作

1
2
3
4
5
6
git add 文件名字或者git add .

git commit -m '描述信息'
git pull origin master(你自己的分支)
git push -u origin master
如果过程中出现‘please enter a commit message...’,首先esc然后输入 :wq即可

所以简略操作可以改为

1
git add. && git commit -m '' && git push