本篇 假设 主分支:master 自己分支:own_branch
在 Git Bash Here 或 vscode 中输入即可
1.若own_branch不存在,则先创建分支
git branch own_branch
2.查看所有分支,看own_branch是否存在
git branch -a
3.切换分支own_branch
git checkout own_branch
4.缓存所有文件
git add .
5.更新本次提交的版本描述
git commit -m "版本描述"
6.先 pull 一下
git pull
7.再 push 一下
git push
【纠正或补充可评论~】