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

Init Gitflow repo default settings #35

Closed
iddqdidkfa opened this issue Mar 31, 2014 · 3 comments
Closed

Init Gitflow repo default settings #35

iddqdidkfa opened this issue Mar 31, 2014 · 3 comments

Comments

@iddqdidkfa
Copy link

When i use gitflow init from console it suggests me to use 'master' branch for production releases and it make sense. But Gitflow Integration plugin suggests me to use 'develop' branch for both, production and next release.

gitflow001

I think we have to use default settings from original gitflow. Or atleast have ability to set these params in plugin settings.

@OpherV
Copy link
Owner

OpherV commented Mar 31, 2014

This isn't intentional - defaults are "develop" and "master" accordingly.
I think this has to do with #14 .

Can you try and open a new empty project, new git repo and then open the git init dialog and see if you still get develop for both?

@iddqdidkfa
Copy link
Author

Yes my screenshot was for new empty project

@OpherV
Copy link
Owner

OpherV commented Apr 4, 2014

If you don't select "use non-default configration", you'll get two branches: develop and master, as you'd expect.

When you open a new git repo, without committing anything - you don't have any branches in the repo yet. So when you init git flow you get this dialog:

rsz_screenshot_3

If you do commit something, the default branch is master (unless you renamed it) so when you choose 'use non-default configuration', and attempt to select from existing branches you get this:

capture
Which makes sense, because you only have one branch present in your project.

@OpherV OpherV closed this as completed Apr 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants