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:
commit
dec07c0170
12
README.md
12
README.md
@ -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)
|
||||
|
||||
<!-- Don’t 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>
|
||||
```
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end -->
|
||||
|
@ -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>"
|
||||
}]
|
||||
|
Loading…
Reference in New Issue
Block a user