Files
tldr/pages.zh/common/git-flow.md

580 B

git flow

一组 Git 扩展,用于提供高层次的仓库操作。 更多信息:https://github.com/nvie/gitflow

  • 在现有的 Git 仓库中初始化它:

git flow init

  • 在基于 develop 的特性分支上开始开发:

git flow feature start {{feature}}

  • 完成特性分支的开发,将其合并到 develop 分支并删除该特性分支:

git flow feature finish {{feature}}

  • 将特性发布到远程服务器:

git flow feature publish {{feature}}

  • 获取其他用户发布的特性:

git flow feature pull origin {{feature}}