Gitee提交代碼
1.在碼云上創(chuàng)建倉庫
2.用idea Create Mercurial Repository
3.復(fù)制命令到Git Bash
4.git add. 添加到緩存區(qū)
git commit -m"xx" 提交到本地倉庫
git push origin master 上傳到master分支

sp20190827_115513_998.png

sp20190827_120317_970.png
Gitee提交代碼到分支
1.輸入命令,查看當(dāng)前所有分支
git branch -a
2.輸入命令,新建分支
git checkout -b 分支名稱 起始分支
3.對(duì)代碼做出修改,提交代碼到新建分支
git add .
git commit -m "提交代碼注釋"
git push origin 分支名稱