Hi there. The parent branch will always be the *current* branch, so all you need to do is:
git checkout develop git branch some-feature git checkout some-feature Or, you can use the -b shortcut to save a step: git checkout develop git checkout -b some-feature In either case, some-feature will have develop as its parent. Hope that's what you were looking for. -- Ryan On Aug 28, 2012 2:44 PM, "git newbie" <technewbi...@gmail.com> wrote: > > > For a more complicated development environment where there is a master branch, a devel branch off of master, and feature branches off of devel, how do you create a feature branch so that it's parent is the devel branch and not the master branch? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups "Git for human beings" group. > To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/Yc8IQGZbgZ8J. > To post to this group, send email to git-users@googlegroups.com. > To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/git-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.