Added
- Shared, committable configuration:
init --sharedwrites the git-flow setup to a.gitflowfile at the repository root and copies it into local config, so a team's branch model can live in the repository instead of every clone --sharedon everyconfig add,edit,rename, anddeleteverb edits the shared.gitflowfile and re-syncs local configconfig synccopies.gitflowinto local config, andconfig statusreports drift between the two (exit code 6 when they differ)- A fresh clone carrying a
.gitflowis offered activation on first run — prompted when interactive, applied automatically withgitflow.shared.autoInit, and topic branch types declared only in the shared file get working commands before activation - Shell tab completion for both the
git-flowandgit flowinvocations, covering bash, zsh, and fish init --initcreates the repository when run outside one, with an interactive prompt offering the same when the flag is absent; the new repository's initial branch is the resolved git-flow trunk rather thaninit.defaultBranch
Changed
- Breaking:
git flow versionnow prints2.0.0 (git-flow-next)instead ofgit-flow-next version 2.0.0, so the first whitespace-separated token is a bare version number as tooling written against git-flow-avh expects. Scripts matching the old string must be updated - Release archives now contain a plain
git-flow/git-flow.exebinary instead of a version- and platform-suffixed filename, so it works as thegit flowsubcommand without renaming after extraction
Fixed
- Boolean git-config values now follow git-config(1) rules:
yes,on, and non-zero integers are truthy and matching is case-insensitive. Previously only the literaltruecounted, so a setting likegit config gitflow.release.finish.push yeswas silently a no-op config editno longer resets boolean settings that were not passed, so editing one field can no longer silently clear an unrelated one such asautoUpdate- Interactive
initnow stores entered branch prefixes verbatim instead of appending a slash, so answeringfeature_producesfeature_loginrather thanfeature_/login - Hooks and filters run from a linked worktree now resolve a relative
gitflow.path.hooksorcore.hooksPathagainst that worktree and execute with it as their working directory, instead of pointing at the main checkout - Commands run outside a git repository now report a git error suggesting
git init(exit code 3) instead of a git-flow-not-initialized error steering togit flow init - Adding a base branch now rolls back its saved configuration when creating the git branch fails, leaving no orphaned config and keeping the command safe to retry
- The
configcommand group is no longer preempted by first-run shared-config activation, including its nestedadd,edit,rename, anddeletesubcommands --sharededits now warn when an untrustedgitflow.path.hooksis withheld from local config, matching whatconfig syncalready reported- Declining the "create a repository?" prompt now reports a decline instead of an internal probe failure
- git-flow-next now builds on every Go target OS; terminal detection previously had no implementation for aix, solaris, illumos, and plan9
Installation
See the installation instructions in the README.
Checksums
SHA-256 checksums for the release artifacts are available in the checksums.txt file.