hello
I want to ignore all of .gitignore rules in subdirectory except .gitignore rules in root.
for example)
I have already .gitignore
file in a directory structure /a
.
And also have .gitignore
file in /a/b
. Assume /a
have a.txt
b.txt
files.
/a/b
has .config
file. .gitignore
defines .config
in /a/b
.
.config
file will be ignored by .gitignore
in /a/b
.
But I really want to track .config
file by ignoring rules of .gitignore
in subdirectory.
Is it possible?
Thanks in advance