I am currently cleaning up a git-repository, moving dependencies and so on.
I have decided to have a global folder which contains all third-party libraries that we use. Except for these *.dll
files, I want to ignore any other dll-Files in the project.
So my gitignore
in the root directory of the project contains these lines:
*.dll
!external\ libraries/*.dll
Which apparently does not work.
I also tried placing a .gitignore file into the external libraries
directory, containing the line !*.dll
, which did not work either.
What am I doing wrong?
e/
Output of ls in external libraries
/external libraries (branchname)
$ ls
file1.dll*
file2.dll*
In the root directory ls returns all folders as expected.