我在Windows中使用Git Bash,为了我的自定义git log格式,我想修改终端的确切RGB颜色值,以便我可以微调颜色输出.我的git日志格式在我的全局中如下.gitconfig:
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset)%x09%C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset) %C(dim white)%an%C(reset) - %C(white)%s%C(reset)' --branches --remotes --tags
Run Code Online (Sandbox Code Playgroud)
我想在Git Bash中定义RGB值实际上映射到'蓝色',例如.知道我怎么能这样做吗?一步一步的说明会很精彩.提前致谢.
我设置我的.bashrc并且由于某种原因它不起作用.颜色没有变化:-(.这是我跑来看色彩的脚本:http://pastebin.com/9EsYmGCj和结果:http://i.imgur.com/1dJ3o1a.png