Given the following repository setup:
- Repository is initialized with git flow
- A hotfix branch exists on origin (say,
hotfix/1.2.3)
- No local hotfix branch exists.
The following command fails:
git flow hotfix track 1.2.3
with:
Fatal: Branch 'hotfix/1.2.3' already exists. Pick another name.
Even though no such branch exists locally.
This is due to https://github.com/petervanderdoes/gitflow-avh/blob/develop/git-flow-hotfix#L343, where require_branch_absent requires both the local AND remote branch to be absent.