I have a git repo in my home folder. I'm trying to NOT include basically the entirety of my home folder, with the exception of my .vim folder.
In my .gitignore, I have
*
!.vim
The problem is that this only adds the .vim directory into my git repo, but not its files and its subdirectories (and its files, and its subdirectories, and so on). I'd like to have .vim and ALL of its subfiles and subdirectories into my git repo. How do I change this .gitignore for the desired behavior?
 
     
     
     
    