the gitignore file does not exclude the marked directory, because it contains dots in its name: 'V1.0.0'. Is there any resolution for this problem?
gitignore file:
#exclude everything from version control
*.*
#add desired directories to version control
!a-V*/**
directory list: (every directory includes a simple text file)
a-V1.0.0 (<-- notice the dots)
a-V2-0-0
a-V3-0-0
b-V1-0-0
b-V2-0-0
output from git status: (file a1.txt in a-V1.0.0 is missing)
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: a-V2-0-0/a2.txt
new file: a-V3-0-0/a3.txt