Hi there, this is a bit of a specific question, but i'm trying to programmatically open a browser to the pull request screen for the current branch, I have it working with:
CWD="${PWD##*/}"BRANCH="$(git rev-parse --abbrev-ref HEAD)"open https://bitbucket.org/{orgName}/$CWD/pull-requests/new?source=$BRANCH&t=1
Which is great, I just can't seem to set the destination, it always defaults to master was wondering if there is a URL parameter to change it to develop for example
?destination=develop
You can use &dest=$BRANCH2
What 't=1' means?
Also can we pass the destination-repository-name in the url params ??
It looks like you're new here. Sign in or register to get started.