branch from other branch
snippet in php

branch from other branch

user4216

// Go first to the branch where you want to make a copy of
git checkout -b subbranch branch

git command to create a branch from another branch

user5675

$ git checkout -b myfeature dev

create branch from another branch

user5741

$ git checkout -b myFeature dev