aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-10-06 16:21:02 +0200
committerKarel Kočí <cynerd@email.cz>2020-10-06 16:21:02 +0200
commit060463dcc74e5a6c7f49f504676ca4712af566ee (patch)
treef4b259470acfb3700a371147f8dff081c3bb5e5d
parent69fc8d40d9a82ce675f46c2ba0dc754cbc99fe2b (diff)
downloadmyconfigs-060463dcc74e5a6c7f49f504676ca4712af566ee.tar.gz
myconfigs-060463dcc74e5a6c7f49f504676ca4712af566ee.tar.bz2
myconfigs-060463dcc74e5a6c7f49f504676ca4712af566ee.zip
gitignore: add
-rw-r--r--gitignore4
-rwxr-xr-xinstall2
2 files changed, 6 insertions, 0 deletions
diff --git a/gitignore b/gitignore
new file mode 100644
index 0000000..71f7d34
--- /dev/null
+++ b/gitignore
@@ -0,0 +1,4 @@
+# C development
+.gdbinit
+.ccls-cache/
+compile_commands.json
diff --git a/install b/install
index 47dde80..16a07a1 100755
--- a/install
+++ b/install
@@ -21,6 +21,8 @@ fi
if ask "git" "Install GIT configuration"; then
inst gitconfig ~/.gitconfig
+ inst gitignore ~/.gitignore
+ git config --global core.excludesfile ~/.gitignore
fi
if ask "gpg" "Install GPG configuration"; then