-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,20 @@ git config --global user.name "icodex" | |
git config --global user.email [email protected] | ||
``` | ||
|
||
Git 配置使用`git push`时自动关联远程分支: | ||
|
||
```shell | ||
git config --global --add push.default current | ||
|
||
git config --global --add push.autoSetupRemote true | ||
``` | ||
|
||
Git 配置大小写敏感 | ||
|
||
```shell | ||
git config core.ignorecase false | ||
``` | ||
|
||
如果要获取所有 git 的配置,可以使用: | ||
|
||
```shell | ||
|