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!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Is there a way to set the default pull location (remote & branch)?

I pull from upstream and push to origin, but the default pull location is always origin and I need to remember to select upstream each time. Is there any way to change this in the config file or menu settings?

1 answer

3 votes
Ana Retamal Atlassian Team Apr 26, 2017

Hi Robert! To achieve that you'll need to add your preference to the repo's config file in SourceTree. To do so, open SourceTree, navigate to the repo and click Settings (cog icon on the top right corner) > Remotes > Edit Config File. Then, if you don't have it already, add a section for the branch you want to configure and add your remote there, it will look something like:

[branch "master"]
    remote = upstream
    merge = refs/heads/master

Hope this helps! Let us know if you have any other questions and we'll be glad to help :)



Does this change the default push settings to upstream?

If so, I've just exchanged one problem for another.

Ana Retamal Atlassian Team May 01, 2017

Hi Robert, I tested it and my push settings remained to origin. Is this not the case for you?

Nope. It didn't work for me. origin is still the default.

Worked like a charm for me. Thank you :).

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events