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

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

When copying branch name for a local branch, why does it include "origin/" before the branch name?

I regularly use the "Copy Branch Name to Clipboard" menu item (right click on a branch).

For local branches, it always adds "origin/" in front of the branch name. I can understand that behaviour if I was working with a remote branch, but I'm not.

It super annoying as I always have to delete the "origin/" before using in shell.

Any chance this can be reviewed to see if its expected and bug fixed if its not?



3 answers

I am also facing this on Mac version 4.1.0. Please prioritise to fix this on Mac as well.

Hi, is this feature only fixed on windows version? 

I'm a Mac user, and it's super annoying..

It should at least have an option to include or remove such prefixes.

0 votes
Ana Retamal Atlassian Team May 03, 2017

Hi Dave, that's a bug and was reported at SRCTREEWIN-7056, it will be fixed in version 2.1. Please watch that ticket to be notified of further updates! 



Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

5,720 views 4 12
Read article

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