Remove * in default .gitignore
corpus/* matches all files in the first level directory inside corpus, so it would match corpus/lala.txt but not corpus/secret/lala.txt. corpus/ matches the directory corpus itself, meaning that corpus/ and everything inside of it shouldn't be uploaded. corpus/** matches everything inside corpus, including contents of subdirectories, while still allowing corpus/ itself to be uploaded. This solves the initial problem I posed (with corpus/secret/lala.txt), but it just feels tidier to just remove the entire folder.
This commit is contained in:
parent
a2ca0da967
commit
83e1bb1aef
1 changed files with 1 additions and 1 deletions
2
skeleton/.gitignore
vendored
2
skeleton/.gitignore
vendored
|
@ -1 +1 @@
|
|||
corpus/*
|
||||
corpus/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue