{"id":1021,"date":"2016-08-16T12:05:13","date_gmt":"2016-08-16T12:05:13","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2016\/08\/16\/how-to-colorize-the-git-output-within-your-shell\/"},"modified":"2021-07-24T15:14:29","modified_gmt":"2021-07-24T15:14:29","slug":"how-to-colorize-the-git-output-within-your-shell","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/UNIX\/Linux\/how-to-colorize-the-git-output-within-your-shell.html","title":{"rendered":"How to Colorize the Git Output within your Shell"},"content":{"rendered":"
Git provides various global configuration options for colorizing the output.[1]<\/sup> [1] https:\/\/git-scm.com\/docs\/git-config<\/a> <\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" Git provides various global configuration options for colorizing the output.[1] In order to enable these options, run the following commands. This will, in turn update your ~\/.gitconfig file. git config –global color.ui alwaysgit config –global color.branch alwaysgit config –global color.diff alwaysgit config –global color.interactive alwaysgit config –global color.status alwaysgit config –global color.grep alwaysgit config –global … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1020,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[],"yoast_head":"\n
In order to enable these options, run the following commands. This will, in turn update your ~\/.gitconfig file.<\/p>\ngit config --global color.ui always
git config --global color.branch always
git config --global color.diff always
git config --global color.interactive always
git config --global color.status always
git config --global color.grep always
git config --global color.pager true
git config --global color.decorate always
git config --global color.showbranch always<\/pre>\nReferences<\/h2>\n