aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-08-17 23:05:35 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2016-08-17 23:05:35 +0200
commit2d7348dfb6988ac0286c4e4d996aff92875f483e (patch)
tree774a47584425aa4124ddedf9b01972eaac115987
parentmove .bashrc_* to .bash_utils/ (diff)
downloadlinux-home-2d7348dfb6988ac0286c4e4d996aff92875f483e.tar.gz
linux-home-2d7348dfb6988ac0286c4e4d996aff92875f483e.zip
white-list files in .gitignore
Now, if a custom files appears in the repository's root folder, `git status` doesn't complain.
Diffstat (limited to '')
-rw-r--r--.gitignore32
1 files changed, 25 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index a88c407..fe992cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,25 @@
-/.bash_history
-/.lesshst
-/.python_history
-/.rnd
-/.ssh/
-/.vim/
-/.viminfo
+*
+
+!/.gitattributes
+!/.gitconfig
+!/.gitignore
+
+!/.LICENSE.txt
+!/.README.md
+
+!/.appdata/
+
+!/.bash_profile
+!/.bash_utils/
+!/.bashrc
+!/.inputrc
+!/.profile
+
+!/.fonts.conf
+
+!/.minttyrc
+
+!/.pythonrc
+
+!/.vimrc
+!/.vimtmp/