Gitee提交代码
1.在码云上创建仓库
2.用idea Create Mercurial Repository
3.复制命令到Git Bash
4.git add. 添加到缓存区
git commit -m"xx" 提交到本地仓库
git push origin master 上传到master分支
sp20190827_115513_998.png
sp20190827_120317_970.png
Gitee提交代码到分支
1.输入命令,查看当前所有分支
git branch -a
2.输入命令,新建分支
git checkout -b 分支名称 起始分支
3.对代码做出修改,提交代码到新建分支
git add .
git commit -m "提交代码注释"
git push origin 分支名称