what's the difference in .gitignore between the following: media static and */media/…
- User
what's the difference in .gitignore between the following:
media static
and
*/media/ */static/
- Assistant
- User
difference between .task and .task/
- Assistant
Great question! The difference between
.taskand.task/in a.gitignorefile (or similar pattern matching contexts) comes down to whether you mean to ignore a file or a directory..task- Matches a file or directory named exactly
.taskin the same directory level as the.gitignore. - If
.taskis a file, it will be ignored.
- Matches a file or directory named exactly