1
0
mirror of https://github.com/namibia/tips.git synced 2024-11-05 21:07:53 +00:00

Merge pull request #83 from andela-dJames/feature-colored-terminal-output

Add tips for changing git terminal output color settings
This commit is contained in:
hemanth.hm 2016-06-14 09:40:35 +05:30 committed by GitHub
commit dec07c0170
2 changed files with 18 additions and 0 deletions

View File

@ -111,6 +111,8 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
* [Clone a single branch](#clone-a-single-branch)
* [Create and switch new branch](#create-and-switch-new-branch)
* [Ignore file mode changes on commits](#ignore-file-mode-changes-on-commits)
* [Turn off git colored terminal output](#turn-off-git-colored-terminal-output)
* [specific color settings](#specific-color-settings)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -769,5 +771,15 @@ git branch <branch-name> && git checkout <branch-name>
git config core.fileMode false
```
## Turn off git colored terminal output
```sh
git config --global color.ui false
```
## specific color settings
```sh
git config --global <specific command e.g branch, diff> <true, false or always>
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

@ -336,4 +336,10 @@
},{
"title": "Ignore file mode changes on commits",
"tip": "git config core.fileMode false"
},{
"title": "Turn off git colored terminal output",
"tip": "git config --global color.ui false"
},{
"title": "specific color settings",
"tip": "git config --global <specific command e.g branch, diff> <true, false or always>"
}]