i using the .gitignore below. surprisingly it ignores the file Source\config\config.inc.ahk
last line tried whitelist all files and subfolders in the source folder
!Source/**
Therefore i expected that Source\config\config.inc.ahk is not ignored. How could i fix that?
UPDATE: This may answerd my question: You have to unignore every directory in the path that you wish to unignore. Git ignore except specific subdirectories
what i have tried:
# Ignore everything
*
# Whitelist some files
!.gitignore
!README.md
# Whitelist folder files files, and subfolders
!Source/**
(complete .gitignore: https://github.com/sl5net/global-IntelliSense-everywhere-Nightly-Build/blob/master/.gitignore)