Commit 1e00aee
Hannes Elvemyr
Fixes issue excluding sub directories
This .gitignore is not correct. At least was not working for me.
Ignoring /media/* and then excluding !/media/customer/.htaccess is not
working. According to the Git manual, "It is not possible to re-include
a file if a parent directory of that file is excluded."
(https://git-scm.com/docs/gitignore).
Found a solution here:
http://stackoverflow.com/questions/987142/make-gitignore-ignore-everything-except-a-few-files/16318111#163181111 parent 1489551 commit 1e00aee
1 file changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
9 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
10 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
11 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
12 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
13 | 35 | | |
| 36 | + | |
14 | 37 | | |
15 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
16 | 42 | | |
| 43 | + | |
0 commit comments