0

Can anyone please help me how to create a branch from develop using console on linux OS?

I tried

git checkout -b my-branch

but not sure on how to create it from dev branch.

vuejsdev
  • 25
  • 6
  • `git checkout -b my-branch dev` – dan1st Aug 05 '20 at 05:34
  • 1
    Does this answer your question? [Create a branch in Git from another branch](https://stackoverflow.com/questions/4470523/create-a-branch-in-git-from-another-branch) – dan1st Aug 05 '20 at 05:35

1 Answers1

2

Try

git checkout -b new-branch-name dev-branch-name
Manash Kumar
  • 995
  • 6
  • 13