(gitflow init?)is there a convenient way when I use gitflow while others don't use it?

24 views
Skip to first unread message

HaveF

unread,
Jul 30, 2011, 7:39:04 AM7/30/11
to gitflow-users
Hi, all,

I am a freshman to gitflow, after watching the nvie's blog about the
model,
this question occur to me, is there a convenient way when I use
gitflow while others don't use it?

Because the gitflow's default "master" branch is the production
branch, while the "git clone xxxx" command always create master branch
at very first time, as you know, this git cloned master branch is used
for pull new code from others, so, I ALWAYS HAVE TO create a new
branch(e.g. master_gitflow) as the gitflow's production branch. Then,
I use gitflow init, choose master_gitflow as my production branch....

I just want to know if there is a convenient way to set gitflow's
default branch name?
So, at the above condition, I just type "gitflow init -D", all work is
done...

why gitflow choose master as the default production branch name?
Reply all
Reply to author
Forward
0 new messages