Setting colors for ls in git bash on windows

前端 未结 4 653
醉话见心
醉话见心 2021-01-30 10:48

I have installed GitHub for Windows recently and am using the git bash prompt - the one thing that is bugging me right now is when I type LS all directories are listed in blue.<

4条回答
  •  星月不相逢
    2021-01-30 11:33

    I've never tried to use GIT on Windows ... but you should be able to adjust text colors with "git-config":

    • http://git-scm.com/book/en/Customizing-Git-Git-Configuration

    There is also a (hidden?) .gitconfig file you should be able to edit directly:

    • http://mohundro.com/blog/2010/02/04/some-tips-on-using-git-with-windows/

    Finally, this link has some good tips:

    • In Git Bash on Windows 7, Colors display as code when running Cucumber or rspec

提交回复
热议问题