1.作为分支克隆git项目
git clone -b tempUser httpgitee.com/Vampire-fladimir/HelloWord.git
2.提交修改文件
1>提交代码
git add .
2>查看提交状态
git status
3>提交
git commit -m '提交信息'
4>拉取
git pull
4>推送 提交到本地分支
git push
5>切换master
git checkout master
6>拉取远程master
git pull origin master
7>将自己分支合并到master
git merge p
8>push到远程master
git push origin master
4.遇到的问题:无法push
You do not have permission to pull from the repository via HTTPS
原因:之前clone过另一个人的gitee,导致本地凭据不是自己的账号和密码(路径:控制面板-用户账户-管理Windows凭据-普通凭据-删除gitee的凭据)。