1.在develop分支上创建新的分支feature-x:
git checkout -b feature-x develop
2.将feature-x分支合并到develop分支:
git checkout develop
git merge feature-x
3.删除feature-x分支:
git branch -d feature-x
4.上传分支代码
git status //查看当前状态
git add . //添加
git commit -m "注释"
git push //提交
5.拉取代码
git pull
6.将feature-x分支代码拉取到本地
git pull origin feature-x