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

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,869 views 127 27
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