atom-git-control
atom-git-control copied to clipboard
git flow feature finish failed with configured prefixes
Hi,
if you configure git flow to prefix your branches the finish command will fail in atom-git-control. Because git flow expects the name of the feature, not the name of the feature branch.
Example:
.gitconfig:
...
[gitflow "prefix"]
feature = feature-
bugfix = bugfix-
release = release-
hotfix = hotfix-
support = support-
versiontag = v
To start a feature you use the git flow dialog:
In the console you see:
> git flow feature start test
Switched to a new branch 'feature-test'
If you finish the feature you will get an error:
> git flow feature finish feature-test
Fatal: Branch 'feature-feature-test' does not exist and is required.
In the dialog you could only choose existing branch names and it is not possible to edit them before submitting.