I'm trying to create a .gitignore that will ignore everything except from some folders and files. However, I can't get to "unignore" folder that begins with a dot.
This is my .gitignore
:
*
!.gitignore
!.tmux.conf
!.config/lvim/
!.config/nvim/
Right now is properly ignoring every file except .gitignore
and .tmux.conf
but it wont "unignore" the folders withing .config/
.
How can I make it to detect these files?