标签: gitflow

  • gitflow常用命令

    git flow 的命令中,feature 是基于dev分支创建的,hotfix是基于master分支创建的。

    初始化:

    $ git flow init

    创建开发分支:

    $ git flow feature start xxx

    结束分支:

    $ git flow feature finish xxx

    把分支推送到远程仓库:

    $ git flow feature publish xxx

    解决线上bug,需要创建hotfix:

    $ git flow hotfix start xxx

    结束hotfix:

    $ git flow hotfix finish xxx

    相关链接:

    gitconfig常用命令:http://liyong.me/archives/14