Skip to content

Commit f4b8b94

Browse files
committed
Make git case sensitive.
1 parent dfc0613 commit f4b8b94

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
* [Restore deleted file.](https://github.com/git-tips/tips#restore-deleted-file)
7878
* [Always rebase instead of merge on pull.](https://github.com/git-tips/tips#always-rebase-instead-of-merge-on-pull)
7979
* [List all the alias and configs.](https://github.com/git-tips/tips#list-all-the-alias-and-configs)
80+
* [Make git case sensitive.](https://github.com/git-tips/tips#make-git-case-sensitive)
8081

8182
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
8283
<!-- @doxie.inject end toc -->
@@ -533,5 +534,10 @@ git config --global branch.autosetuprebase always
533534
git config --list
534535
```
535536

537+
## Make git case sensitive.
538+
```sh
539+
git config --global core.ignorecase false
540+
```
541+
536542
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
537543
<!-- @doxie.inject end -->

tips.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,7 @@
234234
}, {
235235
"title": "List all the alias and configs.",
236236
"tip": "git config --list"
237+
}, {
238+
"title": "Make git case sensitive.",
239+
"tip": "git config --global core.ignorecase false"
237240
}]

0 commit comments

Comments
 (0)