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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to set default remote branch?

Hello,

I want to push to a remote repo, upstream

my local branch is version1

the default remote branch is ALWAYS version1 when I want to push to master

 

Is there a line in the config to add?

 

Thanks

1 answer

0 votes
minnsey Atlassian Team Feb 22, 2018

If you use the Push option from the toolbar, assuming you are on Windows, you get the option to map local branch to remote branch before pushing.

Thanks for reply but I use Mac but I use the toolbar and here is the initial view and the result I want.  The remote branch always defaults to the same name as the local branch but I want to hard set per repo the default remote branch

 

Screen Shot 2018-02-22 at 12.03.50.pngScreen Shot 2018-02-22 at 12.03.58.png

minnsey Atlassian Team Feb 22, 2018

Can you not change the remote branch using the dropdown?

yes but i don't want to drop down, i just want to click and go. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,202 views 19 18
Join discussion

Community Events

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

Events near you