A modern implementation of the Git-flow branching model, written in Go. It is brought to you and maintaned by the team at Tower, the most powerful Git client for Mac and Windows.
git-flow-next is a modern reimplementation of the popular git-flow branching model. It's built with Go, focusing on reliability, extensibility, and developer experience.
This project is maintained by the team behind Tower, one of the most popular Git clients for Mac and Windows. Having integrated git-flow into Tower over many years, we've gained deep insights into its strengths and areas for improvement.
As developers of version control tools, we're passionate about creating better developer experiences. While the original git-flow has served the community well, we saw an opportunity to build a more modern implementation that:
Our goal is to contribute back to the developer community with tools that make version control workflows more efficient and enjoyable.
brew install gittower/tap/git-flow-next
winget install GitTower.GitFlowNext
scoop install git-flow-next
git-flow to a location in your PATHchmod +x /path/to/git-flowgit-flow.exe to a location in your PATHgit flow versionThe binary must be named exactly git-flow.exe for Git to detect it as the git flow subcommand. If git flow version reports that flow is not a git command, check that Windows has not appended a hidden extension (for example git-flow.exe.exe when file extensions are hidden).
Initialize git-flow in your repository:
git flow init
Start a new feature:
git flow feature start my-feature
Finish the feature:
git flow feature finish my-feature
git-flow-next provides convenient shorthand commands that automatically detect your current topic branch and execute the appropriate action. These aliases work similar to git-flow-avh and eliminate the need to specify the branch type manually.
| Shorthand | Full Command | Description |
|---|---|---|
git flow delete | git flow <type> delete <name> | Delete the current topic branch |
git flow rebase | git flow <type> update --rebase | Rebase the current topic branch |
git flow update | git flow <type> update | Update the current topic branch |
git flow rename | git flow <type> rename <name> | Rename the current topic branch |
git flow publish | git flow <type> publish | Publish the current topic branch |
git flow finish | git flow <type> finish | Finish the current topic branch |
When you use a shorthand command, git-flow-next:
# On a feature branch
git checkout feature/my-awesome-feature
git flow finish # Executes: git flow feature finish my-awesome-feature
git flow rebase # Executes: git flow feature update --rebase
# On a release branch
git checkout release/v1.2.0
git flow publish # Executes: git flow release publish v1.2.0
# On a hotfix branch
git checkout hotfix/critical-bug
git flow finish # Executes: git flow hotfix finish critical-bug
git flow rebase # Executes: git flow hotfix update --rebase
The shorthand commands automatically detect topic branches based on your git-flow configuration:
feature/, features/, feat/release/, releases/, rel/hotfix/, hotfixes/, hf/support/, supports/, sup/All options and flags are passed through to the underlying commands:
# Options work exactly like the full commands
git flow finish --keep --tag # Keeps the branch and creates a tag
git flow update --rebase # Forces rebase strategy for update
git flow delete --force # Force deletes the branch
The shorthand commands work with all standard git-flow branch types:
For detailed documentation, please visit our documentation site.
For comprehensive configuration information, see CONFIGURATION.md which includes:
We welcome contributions! Please see our Contributing Guidelines for details on how to get involved.
For information about the project's architecture and technical overview, see ARCHITECTURE.md.
This project is licensed under the BSD 2-Clause License - see the LICENSE file for details.
This project builds upon the work of:
git-flow-next is maintained by the team behind Tower, the popular Git client for Mac and Windows. With over a decade of experience in Git tooling and version control, we're committed to creating high-quality developer tools that make working with Git more efficient and enjoyable.
Go
99.3%
A modern implementation of the Git-flow branching model, written in Go. It is brought to you and maintaned by the team at Tower, the most powerful Git client for Mac and Windows.
git-flow-next is a modern reimplementation of the popular git-flow branching model. It's built with Go, focusing on reliability, extensibility, and developer experience.
This project is maintained by the team behind Tower, one of the most popular Git clients for Mac and Windows. Having integrated git-flow into Tower over many years, we've gained deep insights into its strengths and areas for improvement.
As developers of version control tools, we're passionate about creating better developer experiences. While the original git-flow has served the community well, we saw an opportunity to build a more modern implementation that:
Our goal is to contribute back to the developer community with tools that make version control workflows more efficient and enjoyable.
brew install gittower/tap/git-flow-next
winget install GitTower.GitFlowNext
scoop install git-flow-next
git-flow to a location in your PATHchmod +x /path/to/git-flowgit-flow.exe to a location in your PATHgit flow versionThe binary must be named exactly git-flow.exe for Git to detect it as the git flow subcommand. If git flow version reports that flow is not a git command, check that Windows has not appended a hidden extension (for example git-flow.exe.exe when file extensions are hidden).
Initialize git-flow in your repository:
git flow init
Start a new feature:
git flow feature start my-feature
Finish the feature:
git flow feature finish my-feature
git-flow-next provides convenient shorthand commands that automatically detect your current topic branch and execute the appropriate action. These aliases work similar to git-flow-avh and eliminate the need to specify the branch type manually.
| Shorthand | Full Command | Description |
|---|---|---|
git flow delete | git flow <type> delete <name> | Delete the current topic branch |
git flow rebase | git flow <type> update --rebase | Rebase the current topic branch |
git flow update | git flow <type> update | Update the current topic branch |
git flow rename | git flow <type> rename <name> | Rename the current topic branch |
git flow publish | git flow <type> publish | Publish the current topic branch |
git flow finish | git flow <type> finish | Finish the current topic branch |
When you use a shorthand command, git-flow-next:
# On a feature branch
git checkout feature/my-awesome-feature
git flow finish # Executes: git flow feature finish my-awesome-feature
git flow rebase # Executes: git flow feature update --rebase
# On a release branch
git checkout release/v1.2.0
git flow publish # Executes: git flow release publish v1.2.0
# On a hotfix branch
git checkout hotfix/critical-bug
git flow finish # Executes: git flow hotfix finish critical-bug
git flow rebase # Executes: git flow hotfix update --rebase
The shorthand commands automatically detect topic branches based on your git-flow configuration:
feature/, features/, feat/release/, releases/, rel/hotfix/, hotfixes/, hf/support/, supports/, sup/All options and flags are passed through to the underlying commands:
# Options work exactly like the full commands
git flow finish --keep --tag # Keeps the branch and creates a tag
git flow update --rebase # Forces rebase strategy for update
git flow delete --force # Force deletes the branch
The shorthand commands work with all standard git-flow branch types:
For detailed documentation, please visit our documentation site.
For comprehensive configuration information, see CONFIGURATION.md which includes:
We welcome contributions! Please see our Contributing Guidelines for details on how to get involved.
For information about the project's architecture and technical overview, see ARCHITECTURE.md.
This project is licensed under the BSD 2-Clause License - see the LICENSE file for details.
This project builds upon the work of:
git-flow-next is maintained by the team behind Tower, the popular Git client for Mac and Windows. With over a decade of experience in Git tooling and version control, we're committed to creating high-quality developer tools that make working with Git more efficient and enjoyable.
Go
99.3%