3 ms·
I have my homedir in git too and also ignore just about everything. I ended up using gitignore as a whitelist instead of a blacklist, e.g.: /* !/.gitig
by oops 13y ago
I have my homedir in git too and also ignore just about everything. I ended up using gitignore as a whitelist instead of a blacklist, e.g.:
/*
!/.gitignore
!/.gitmodules
!/.gitconfig
!/.zshrc
!/.zshenv
!/.zsh
!/.tmux.conf
!/.vimrc
!/.vim
- dgellow 13y agoI have a close setup. It just needs a little trick to add subdirectories : /* !/.emacs !/.emacs.d/ /.emacs.d/* !/.emacs.d/themes/ !/.emacs.d/functions/ You can check my .gitignore here [0]. [0] https://raw.github.com/dgellow/home/master/.gitignore https://raw.github.com/dgellow/home/master/.gitignore