From 2d7348dfb6988ac0286c4e4d996aff92875f483e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 17 Aug 2016 23:05:35 +0200 Subject: white-list files in .gitignore Now, if a custom files appears in the repository's root folder, `git status` doesn't complain. --- .gitignore | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) (limited to '.gitignore') 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/ -- cgit v1.2.3