0
Q:

create a new branch based on another branch

How to create a new branch in git 

$ git checkout -b good

here good is new branch name
the line 3 after executing we will go to that branch
2
$ git checkout -b myfeature dev
2
//when on branch 'dev' make branch 'myFeature' off of 'dev'
git checkout -b myfeature dev
0

New to Communities?

Join the community