Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Cannot push to origin

After upgrade to Sourcetree 3.2.5 [6 Aug 2019]

There are some differences with before where use push to origin function.



It will auto fill the Remote branch text-box with my new local branch name and can click Push button to push to origin


Sourcetree 3.2.5 [6 Aug 2019]:

It will leave it blank and click Push button will produce error.

22 answers

This broke for me when upgrading to Sourcetree 3.3.4 on windows. It is a bug in sourcetree.

A workaround for the issue is when sourcetree autofills the "Remote branch" field in the push dialog the first time pushing a new branch from local, Delete what ever sourcestree autofills and enter it manually or copy and past the previous values and the push will work.

I just have the same issue on 3.3.4

All my local source is lost b/c of the remote branch not found

Like AKrizan likes this

I figured out a shorter workaround right after writing this, in the "Remote branch" delete the forwards slash character and the write it again and it will work.

Have not experienced losing any remote branches i only experience the issue with new branches that needs to be pushed remote.

Like # people like this

Thank you.  This helped.

thanks, this worked.

Thank you so much. Copy/paste previous values worked. Definitely a bug in version 3.3.4.

Like StefanS likes this

For me, after the first push Source tree cleared the "Remote branch" text box to the empty field. So, push didn't work because "Remote branch" is a simply empty string, but it's hard to track this as it happens at the moment when a dialog box is hidden. Of course, typing a name into "Remote branch" fixes the issue. 

still problem in 3.2.6

same problem here in 3.2.6

Same problem here. If I create a new branch then try to push it to the origin, the remote branch name is left blank and the "Track?" checkbox is left in an indeterminate state.


This results in the following error even after manually entering a branch name and checking the Track? option: 

The Remote branch '' (Local branch = 'test2') is invalid. Ref names must follow git ref-format rules:
Completed with errors, see above.

I have the exact same issue as lee_m.

Same problem here as of the update of 02/09/19 :

Confirmed to be working again when downloading Sourcetree 3.1.3 from the website and installing this over the existing installation.

I created a bug report almost two weeks ago

This bug report describes the issue really well:

Please vote it up for the SourceTree team to pay attention to it.

Just happened in 3.3.4.

Had to remove the value ("master") from the "Remote branch" TextBox and manually entered "master".

I found the solution! You just need to rename the current branch. You can even put the same exact name! The default value SourceTree adds to your branch name is invalid.

One team member facing the same issue; force push does not work either.  Remote branch is not created and sourcetree shows a git error saying the branch name does not conform when you try to create it manually; downgrading to 3.1.2 was the only fix.

I have same problem. It is really anoying. In previous version. I think 3.2.4 it automatically created new branch on origin. After switching to 3.2.5, when I create new branch I always needs to push it in cmd like git push origin xxx

still problem in 3.3.8 WTF

still problem in 3.2.6

Still happening in Sourcetree 3.3.4.

@dw-mschneider 's solution worked for me - If the remote branches are blank when trying to Push, which happens when it's a new repository, it used to still work and would create those branches in the remote, but this time I had to enter the branch names manually. Worked after that.

I resolve the problem when push branch with remote branch default(space)!

I fixed with SourceTree 3.2.6 version!



I selected "Push to origin" instead of "Push to same new branch name"


Let try!

Having the same problem when trying to create a new branch with hg flow

0 votes
Deleted user Sep 19, 2019

Putting in my 2 cents. For me, it also does not work in 3.2.6 but if I force push, it works. Sometimes the repo admin doesn't make that option available, so I'll try downgrading to 3.1.3.

same problem since updating to 3.2.6

I recently upgraded to 3.2.6 and have this problem as well.


I did a commit, and a "1" shows up on the tool bar by the "push" icon, but when I click "push", there are no branches to push in the dialog that pops up.

Still same problem with 3.2.6 version as well.

Also same problem

In my case problem gone with 3.6.2.

Have the same issue with version 3.2.5

but when doing commandline push from terminal from Sourcetree it works. Weird enough.

updated to sourcetree 3.6.2 but the issue is still the same.

3.6.2 does fix it, after reboot

Like Dmitry Melnikov likes this

Had the same issue. We noticed that sourcetree site offers to download version 3.1.3 now, so I've reinstalled that version for now.

Facing the same issue

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 12, 2019

Hello Gerry and welcome to the Community!

Thank you for reporting a change in the product after an update. We would be interested to know what version to upgraded Sourcetree from so we may review the release notes to see if there was a behavior change.

We look forward to hearing back which version you have prior to the upgrade.

Stephen Sifers

I had the same problem as mentioned above. 

When upgrading to 3.2.5 from what I think was 3.1.3 (which still works for my colleagues), I could no longer work with the push dialog.


But today, after I've tried to update embedded git (which didn't work), update windows and multiple reboots it works again.

Like Stephen Sifers likes this

Sorry for the late replay, I upgraded from version 3.1.3. 

Version still have the same issue (Windows)

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events