Whenever I try to change the destination branch of a branch to another branch it never actually changes and just stays as the master branch. I have also tried specifying the source branch when creating a new branch, but it always just branches of the main branch. I am using GIT.
Is this possible, or is there a reason why i wouldnt be able to do this?
Theo hussey Yes that is possible. You can create a branch off another branch simply by:
git checkout -b branch2 branch1
So above command will create a new branch "branch2" off "branch1". If you look at the workign directory when switching between these branches you will find them identical since you've created "branch2" from "branch1".
What version of git are you using? It might also be possible that when you are branching from another branch, that branch might be having same source as the master and hence you think its branching off master. You can double check that just to be sure.
Hope this helps.
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot