From fd0248d2f8f7c7fb7cda213e0c56d68329b3ad79 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Mon, 6 Jan 2020 18:26:40 +0100 Subject: Ignore everything in gitignore Instead of managing a file for all exceptions, I can just git add -f, which also ignores the gitignore file. Afterwards, files are tracked as usual. --- .gitignore | 105 +------------------------------------------------------------ 1 file changed, 1 insertion(+), 104 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 9bbc507..72e8ffc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,104 +1 @@ -# Ignore everything except the gitignore file itself -/* -!.gitignore - -# Allow directories in ~/.config -!/.config/ -/.config/* - -# Allow directories in ~/.local -!/.local/ -/.local/* - -# -# Shell customization -# - -!/.zshrc -!/.bashrc -!/.config/shell/ -/.config/shell/vendor - -# -# Custom shell utilities -# - -!/.local/bin -/.local/bin/* - -# template files -!/.local/templates - -# gittab -!/.local/bin/gittab -!/.local/etc -/.local/etc/* -!/.local/etc/gittab - -# misc -!/.local/bin/chomp -!/.local/bin/chwp -!/.local/bin/kubecontext -!/.local/bin/load -!/.local/bin/lpass -!/.local/bin/mkbak -!/.local/bin/mkpasswd -!/.local/bin/new -!/.local/bin/ta -!/.local/bin/uncolor -!/.local/bin/up - -# -# Application specific dotfiles -# - -# app-editors/vim -!/.vim/ -/.vim/bundle -/.vim/.netrwhist -/.vim/view - -# dev-vcs/git -!/.config/git - -# net-irc/weechat -!/.weechat/ -/.weechat/* -!/.weechat/weechat.conf -!/.weechat/plugins.conf - -# net-misc/openssh -!/.ssh/ -/.ssh/* -!/.ssh/config -!/.ssh/known_hosts -!/.ssh/authorized_keys - -# www-client/firefox -!/.mozilla/ -/.mozilla/* -!/.mozilla/firefox/ -/.mozilla/firefox/* -!/.mozilla/firefox/profiles.ini -!/.local/etc/firefox/ -/.local/etc/firefox/* -!/.local/etc/firefox/user.js -!/.local/etc/firefox/chrome/ - -# x11-misc/sxhkd -!/.config/sxhkd - -# x11-terms/termite https://anongit.gentoo.org/git/user/eroen.git -!/.config/termite - -# x11-wm/awesome -!/.config/awesome/ -/.config/awesome/gtd_next_items - -# https://gitlab.com/tyil/perl6-app-gtd -!/.config/gtd - -# -# Miscellaneous -# -!/.local/etc/uninames.txt +* -- cgit v1.1