1. 克隆代码
git clone 克隆地址
2. 进入该文件夹 -- 找到要修改的文件 -- 修改并保存
3. 在该文件夹下: 右击 -- 选择 Git Bash Here
4. 查看本地分支
git branch -a
5. 拉取远程分支到本地
git checkout -b 本地分支名 origin/远程分支名 ( 比如提交到远程 test分支: git checkout -b test origin/test )
6. 进入本地分支
git pull
7. 上传
(1) 先放入暂存区: git add .
(2) 再添加说明: git commit -m "说明"
(3) 最后push上去: git push 上传地址 分支名