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

Dave McDonnell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 1, 2017

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?

Cheers

Dave

3 answers

0 votes
shashank_singhal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 26, 2021

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

0 votes
smlee729
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 11, 2020

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
Atlassian Team members are employees working across the company in a wide variety of roles.
May 3, 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! 

Cheers,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events