Skip to content

Commit 6886c2c

Browse files
committed
edit git config
1 parent 318484a commit 6886c2c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
146146
* [Find common ancestor of two branches](#find-common-ancestor-of-two-branches)
147147
* [List unpushed git commits](#list-unpushed-git-commits)
148148
* [Add everything, but whitespace changes](#add-everything-but-whitespace-changes)
149+
* [Edit [local/global] git config](#edit-localglobal-git-config)
149150

150151
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
151152
<!-- @doxie.inject end toc -->
@@ -1002,5 +1003,10 @@ git cherry -v
10021003
git diff --ignore-all-space | git apply --cached
10031004
```
10041005

1006+
## Edit [local/global] git config
1007+
```sh
1008+
git config [--global] --edit
1009+
```
1010+
10051011
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
10061012
<!-- @doxie.inject end -->

tips.json

+3
Original file line numberDiff line numberDiff line change
@@ -428,4 +428,7 @@
428428
}, {
429429
"title": "Add everything, but whitespace changes",
430430
"tip": "git diff --ignore-all-space | git apply --cached"
431+
}, {
432+
"title": "Edit [local/global] git config",
433+
"tip": "git config [--global] --edit"
431434
}]

0 commit comments

Comments
 (0)