Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complement git flow init -d bug #14

Open
kangwonlee opened this issue May 26, 2019 · 2 comments
Open

Complement git flow init -d bug #14

kangwonlee opened this issue May 26, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@kangwonlee
Copy link
Owner

kangwonlee commented May 26, 2019

git config gitflow.prefix.hotfix "hotfix/"
git config gitflow.prefix.feature "feature/"
git config gitflow.prefix.bugfix "bugfix/"
git config gitflow.prefix.release "release/"
git config gitflow.prefix.support "support/"
  • Running the commands above with --global adds following section in the ~/.gitconfig file
[gitflow "prefix"]
    hotfix="hotfix/"
    feature="feature/"
    bugfix="bugfix/"
    release="release/"
    hotfix="hotfix/"
    support="support/"
  • gitflow 1.12.3 could resolve this issue. Until then, consider adding above section to ~/.gitconfig
@kangwonlee kangwonlee added the enhancement New feature or request label May 26, 2019
@kangwonlee kangwonlee self-assigned this May 26, 2019
@kangwonlee
Copy link
Owner Author

kangwonlee commented May 26, 2019

$ git config --global gitflow.prefix.feature "feature/"
$ git config --global gitflow.prefix.bugfix "bugfix/"
$ git config --global gitflow.prefix.release "release/"
$ git config --global gitflow.prefix.hotfix "hotfix/"
$ git config --global gitflow.prefix.support "support/"
$ git flow init -d
Using default branch names.

Which branch should be used for bringing forth production releases?
   - master
Branch name for production releases: [master]
Branch name for "next release" development: [develop]

How to name your supporting branch prefixes?
Version tag prefix? []
Hooks and filters directory? [???/.git/hooks]

$ git flow feature start ttt
Switched to a new branch 'feature/ttt'

Summary of actions:
- A new branch 'feature/ttt' was created, based on 'develop'
- You are now on branch 'feature/ttt'

Now, start committing on your feature. When done, use:

     git flow feature finish ttt
  • Seems sort of works

@kangwonlee
Copy link
Owner Author

kangwonlee commented Jun 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant