When creating a branch, origin/branch is not created

The ever famous, "It used to work, but now it doesn't" question. When I create a new branch, only the local branch gets created. The origin/branch is not created. Attempts to push changes to origin/branch, in the hopes that action will create the branch on origin, result in the "Pushing" dialog's progress bar spinning and spinning for what appears to be an eternity (more than two hours on one test).

What changed? I changed my password on our domain, though I have some doubt that is the issue since the repository on GitHub.com is publicly accessible. And someone created a "live" branch on the repository, and a GitHub JSON configuration file in the process (.openpublishing.publish.config.json had an email address added to the "notification_subscribers", and "branches_to_filter" changed from ["live"] to [""]).

I'm certainly no expert on Git or GitHub, but since I have some changes that need to be pushed/pulled into the master branch, I would appreciate any help you could provide. And even with my afore-mentioned inexperience, I somehow have a feeling the issue may be in my SourceTree configuration more than in the changes mentioned above. I'll be glad to do whatever I can to get this working again (share config files, run tests, give screenshots, etc).

Thank you.


Adding to this in response to Tim Crall's response:

Alas, even though "Track" is checked, I do not receive an error message.


And the result is the same (no error message, no update, and the progress bar spinning eternally) regardless of whether the Track checkbox is checked, unchecked, or undefined:


Track Checked.png


Track check cleared.png


Track undefined check Full Output.png

What else can I do to try to fix this?


2 answers

This is definitely unusual behavior, because it should either create the remote branch or give you an error message.

Do you have the checkbox for "track" checked in your push screen?  If so, it should create the remote branch when you push.  If unchecked, it should give you an error message.  In no case should it just spin for hours.


Screen Shot 2016-06-13 at 9.57.31 AM.png

At this point, I would welcome an error message almost as much as success. Alas, even though "Track" is checked, I do not receive an error message.


I tried again, this time unchecking "Track" (thus putting Track into the "undefined" state), and it spins and spins without success or error. Here is the "Show Full Output" when Track has the undefined check:

Track undefined check Full Output.png

Here is the output when the Track check is cleared:

Track check cleared.png

And, for completeness, here is the output when Track is checked:

Track Checked.png

Are there any other experiments you'd like me to attempt?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,232 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you