aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-27 18:40:53 +0800
committerGuangxiong Lin <[email protected]>2022-03-27 18:40:53 +0800
commit7e0ad0cf4d9d6bed44f581fd9a6e48c699477d0c (patch)
tree3e7b779d505510a1a32c3e54162f8fcc00df5ef4
parentcde7f6fc29b3cf39c11807edc95b38fe73a9f273 (diff)
downloaddotfiles-7e0ad0cf4d9d6bed44f581fd9a6e48c699477d0c.tar.gz
dotfiles-7e0ad0cf4d9d6bed44f581fd9a6e48c699477d0c.tar.bz2
dotfiles-7e0ad0cf4d9d6bed44f581fd9a6e48c699477d0c.zip
Setup global gitignore
-rw-r--r--.gitconfig2
-rw-r--r--.gitignore1
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index 243b03e..5217c83 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -12,3 +12,5 @@
tool = vimdiff
[diff]
tool = vimdiff
+[core]
+ excludesFile = ~/.gitignore
diff --git a/.gitignore b/.gitignore
index 522c953..46d5a30 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
.DS_Store
.tags
+compile_commands.json
.cache