Hello,
I've been trying to checkout a "develop" branch using the pipeline but when I execute the git commands, there's no way for me to see any of my other remote branches.
My idea is to trigger a pipeline to merge from develop to master.
Thanks
I have resolved the command below:
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
Thanks to a similar question here: https://community.atlassian.com/t5/Bitbucket-questions/Can-t-checkout-master-on-a-branch-pipeline/qaq-p/1004778
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.