bitbucket pipelines refering to other branches

15 Views Asked by At

I am trying to work with pipelines on bitbucket. One of the steps I need, requires me to use git parse-rev to another branch. However, I keep getting this message:

fatal: ambiguous argument 'origin/otherbranch': unknown revision or path not in the working tree

(I tried it with and without origin, and got the same result). Using git branch showing only the branch the pipeline runs on Is there a way for me to get the state of another branch last commit? While this is not critical, it may help with faster deployment

0

There are 0 best solutions below