The following gitignore manual page:
[...] git treats the template as a shell suitable for fnmatch (3) consumption with the FNM_PATHNAME flag: wildcards in the template will not match / in the path.
So, this clearly means that there is no way to specify a certain number of directories between two lines, for example between special and js .
However, you can have a .gitignore file for each directory, so maybe in your case the following content
*.js
in the next place
MyPrject/WebApp/Scripts/special/.gitignore
would be enough?
Guillaume Lemaรฎtre May 14 '13 at 19:29 2013-05-14 19:29
source share