Hi I have two branches in parallel 'dev' and 'prod' I would like to add another local branch to the local dev branch called 'issue22' (GitPro refers to this as a topic branch - others call it a feature branch). So at the terminal I created my feature/topic branch with
git checkout -b issue22 dev
Which I thought would do 'make a branch called issue22' and start with the same source code that is in the dev branch. I am expecting to see
prod
dev
dev/issue22
However when I send the command git branch -a
Instead, I see
prod
dev
issue22
remotes/origin/head -> origin/master
remotes/origin/dev
remotes/origin/prod
What command should I use to create a new branch so that 'issue22' appears to look like a topic/feature branch that runs in parallel to the 'dev' branch and also appears to stem from the dev branch?
many thanks