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

show different color for remote branch

hi

I am using git-p4 to sync perforce with my local git repositiory.

some how in source tree, p4/master and p4/HEAD are displayed in pink, which is the same color as local branches.

Is it possible to have them displayed in differenat colors?

Also is there a way to hide HEAD and remote HEAD? at least when HEAD is pointing to a named branch/tag?

thanks

mone

5 answers

It would help if you mentioned which product you were asking questions about.

Fisheye? Bitbucket?

It would help if you mentioned which product you were asking questions about.

Fisheye? Bitbucket?

sorry, it's for source tree.

I throught the tag "sourcetree" was for that purpose.

mone

Ahhh, I see that now... apparently it's too early in the morning for my brain to make the connection between Atlassian and their recently aquired Sourcetree app. Sorry :)

Also I think it's still useful to display HEAD even when you're on a branch - it's very quick to pick out in the log that way.

The branch that HEAD points to is already in bold color. I feel it's redundent information. If you look at the way gitX presents the history view, it's much cleaner.

In my situation, the p4/* remote branch is not in different color. Also they are not shown under remote group on the left panel. It maybe a bug. Again gitX does it fine and the history view is beautiful. I like everything about source tree but the history view just makes me want to go back to gitX.

If the p4/* isn't under the Remotes section, it's almost certainly not a remote branch, which is why it's in the local branch colour. If you think it is, please provide some kind of example repo I can look at.

But git branch -r shows that they are remote branches and GitX shows them fine.

!529 [12:44:05] $ git branch -r

p4/HEAD -> p4/master

p4/master

i created a sample .git that demostrate the problem. Can I send it to you through email?

Please can you log a bug at http://jira.atlassian.com - you can attach the repo to that. Thanks!

The branch & tag colours match the graph colour to help you associate them.

The icons on the labels show what type they are. Local branches have a blue branch icon, remote branch icons are grey (and they also have the remote prefix anyway).

Suggest an answer

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,042 views 0 11
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