by anshargal · 4y ago · 0 comments
# Ignore everything in this directory
*
# Except this file
!.gitignore
.gitignore can be present in any directory and there is a way to unignore a wildcard[1] https://github.com/RichiH/vcsh
The main selling point is that you can set up various git repos for different things. I have one for SSH keys (and no, that does not get pushed anywhere except to my own private server), VIM, neovim, bash, and 'other' (for misc config files like .dir_colors, .gitconfig, etc.).
ln -fs ~/workspace/dotfiles/vimrc ~/.vimrc