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

Is there any way to disable the facility of deletion of remote branches in sourcetree?

Screenshot_4.jpg   I want to disable the facility of deleting any branch inside "remotes" unless I explicitly change some setting in Sourctree (if such thing is there) ,  so that there is no such possibility of accidental deletion of any remote branch.

Thank in Advance.

1 answer

1 vote
Manju Atlassian Team Jun 21, 2018

Could you please detail a bit more on this?

Unless a branch on the remote is manually deleted, it wouldn't disappear in Sourcetree. 

Hi Manjunath,

Thanks for the reply.

You are right, that a remote branch will not disappear unless manually deleted.

I wanted to ask if it is possible to disable the option of deletion for the specific users.

for e.g. I have my source tree,  I can see the remote branches but, should not be able to delete them.

Manju Atlassian Team Jun 22, 2018

Hi @Sharad Keshari,

That's something you should be able to do on the server side I believe.. You should be able to set appropriate permissions and Sourcetree would honor this.


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...

7,020 views 5 13
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