git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Color remote repository part of a remote branch "pink" instead of red. I.E: [Feature Request] Mixed coloring for remote refs in git log --graph --all

From
D. Ben Knoble <ben.knoble@gmail.com>
Date
Dec 12, 2025, 22:06 UTC
Message-ID
<CALnO6CBt7Z9bRhOzci8S+QndYUQUEszYHxfqHqiHkTXQ67ptsg@mail.gmail.com>
In-Reply-To
<AM0PR02MB44500013C2F28CBBD99A113EB3A1A@AM0PR02MB4450.eurprd02.prod.outlook.com>
On Thu, Dec 11, 2025 at 4:46 AM Skybuck Flying <skybuck2000@hotmail.com> wrote:
Show 29 quoted lines
>
> git log --graph --all would show something like:
>
> X:\Vite\Repository\LocalControl>git log --graph --all
> * commit c2234c6162cae9e7bfe5013a76b6c381092046fb (origin/Branch/Feature/Delphi/SystemPromptUpdateForTestingUsingFreePascalCompiler, Repository/Branch/Feature/Delphi/SystemPromptUpdateForTestingUsingFreePascalCompiler)
> | Author: Skybuck Flying <skybuck2000@hotmail.com>
> | Date:   Thu Dec 11 10:15:51 2025 +0100
> |
> |     SystemPrompt.md +FPC testing, +common/types uses.
> |
> |     SystemPrompt.md updated for:
> |     + Use FPCUnit for testing with Free Pascal Compiler.
> |     + Special directives for common/types imports/uses clausules.
>
> origin is a remote (the github remote)
> Repository is also a remote (locally on my disk).
>
> Both branches are in red:
> origin/Branch/Feature/Delphi/SystemPromptUpdateForTestingUsingFreePascalCompiler
> Repository/Branch/Feature/Delphi/SystemPromptUpdateForTestingUsingFreePascalCompiler
>
> There is the possibility when creating branches in all kinds of ways of accidently naming it the same as the remote, so it's not really a remote, but it's just some kind of branch name with happens to have the same remote name.
>
> Maybe these remote branch names are just one string and the difference don't matter or maybe it does matter, I think it does matter, if it does matter/stored differently then the idea is to:
>
> Allow mixed colors in these remote branches.
>
> So the origin part becomes pink.
> So the Repository part becomes pink.
Perhaps try configuring color.decorate.branch or color.decorate.remoteBranch?
Previous: Skybuck FlyingNext: D. Ben Knoble
Message 2 of 3 in “Color remote repository part of a remote branch "pink" instead of red. I.E: [Feature Request] Mixed coloring for remote refs in git log --graph --all”
  1. Skybuck FlyingDec 11, 2025
  2. D. Ben KnobleDec 12, 2025
  3. D. Ben KnobleDec 18, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.