git插件:https://plugins.jetbrains.com/search?tags=Code%20tools

    1、新建分支并提交远程
    新建分支 git branch Feature0.5.0#ISOP-4510710_dev
    新分支提交到远程 (git push后有提示)git push origin Feature_0.5.0
    #ISOP-451_0710_dev

    2、代码合并
    1.提交子分支代码至远程
    git branch
    git status
    git add .
    git commit -m “提交注释”
    git pull —rebase // 从远程分支拉取最新代码
    git push // 提交到远程分支(如果分支名不匹配 git push origin HEAD)

    2.子分支合并父分支代码
    git checkout 父分支
    git pull —rebase
    git checkout 子分支
    git pull —rebase
    git rebase 父分支 // 本地子分支合并父分支代码
    git pull —rebase // 防止远程子分支有新提交代码,重新拉取
    git push // 子分支提交到远程

    3.父分支合并子分支代码
    git checkout 父分支
    git rebase 子分支 // 本地父分支合并子分支
    git pull —rebase // 防止远程父分支有新提交代码,重新拉取
    git push // 父分支提交到远程