When committing any work to any repo I stage my changes, do not check "push changes immediately to origin/branch", select "Create Pull Request", type my comments, then click 'Commit'. Every time it 404's and pushes my commit to the remote. What gives?
Things I've done: refreshed OAuth token, deleted and re-cloned repos, restarted
Yes, all of my repos have "BaseUrl": "https://bitbucket.org/" in their sourcetreeconfig.json files.
So I removed the / after .org, saved the file, opened sourcetree, made some changes to a file in the repo, staged changes, selected create PR, and it brought me to the PR creation page over HTTPS, but my changes were already committed to the repo (I did NOT check push changes to origin). So we're halfway there.
Yep, my client has the same message.
So maybe I'm missing something here. I just went through the same process of staging a file, writing a commit message, and creating a pull request through the GUI.
So what is the point of the "Push changes immediately" box if it is ignored and always pushed? Also, how am I supposed to make a pull request if there are no changes?
Or is this behavior due to the fact that I'm working on/updating master and not merging a remote branch INTO master?
I see -- I thought you were using the context menu pull-request feature (right click on the branch in the sidebar).
The "Push changes immediately" box exists so you can push automatically after commiting (if you had "Create Pull Request" unchecked).
Working on master and merging into master won't do anything because they're the same branch.
Okay Mike, I'm on the same page now - thank you for your help!
Is there an open bug report for this?
The app continuously rewrites the trailing slash to the "BaseUrl" string value "https://bitbucket.org/" inside the sourcetreeconfig.json file which forces me to check/edit the file before I want to create a PR in each of the repos I work in.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events