Creating pull request looks at local branch and not upstream

Issue #27 resolved
Corey Hinkle created an issue

When trying to create a pull request it tries to match my local branch name on the stash server as opposed to the upstream of my branch. I think either switching it or giving the option would give this a lot more power to allow me to call my branches whatever I want (Can't stand the stash summary after ticket number) and still be able to create pull requests via bash.

Comments (4)

  1. Seb Ruiz Account Deactivated

    You can pass in the --remote flag into the configuration and/or command line arg to specify which remote you want the pull request to target.

    This was omitted from the README which I've now updated.

  2. Corey Hinkle reporter

    Not sure if I'm misunderstanding or I worded it poorly. My branch name is "feature/WOW-234" and it is tracking "origin/feature/WOW-234-jira-crappy-summary". When I try to create a pull request it complains about not being able to find branch "feature/WOW-234". Does remote fix this because after running some things it looks like it is just used to change which remote repo you are pointing to (which is what I would expect it to do).

  3. Seb Ruiz Account Deactivated

    @bugg123 ah I understand now.

    This feature was implemented and is waiting a release. I will do my best to do this next week, I am currently travelling.

  4. Log in to comment