In my repository, I have a master branch and then a staging branch coming out of master branch. Now I need to add a third branch that should come out from staging branch. That means I need a branch coming out of another branch. Can anyone help in this?
The syntax I used for creating branch is like this:
git branch <name_of_your_new_branch>
git push origin <name_of_your_new_branch>
git checkout <name_of_your_new_branch>