Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| git_ignore [2019/02/19 19:28] – [Basic .gitignore file] rpjday | git_ignore [2019/02/22 18:18] (current) – [Debugging gitignore files] rpjday | ||
|---|---|---|---|
| Line 82: | Line 82: | ||
| The Linux kernel source repo has over 200 '' | The Linux kernel source repo has over 200 '' | ||
| - | ===== Four levels of ignoring files ===== | + | ===== Advanced ignoring ===== |
| + | |||
| + | ==== Four levels of ignoring files ==== | ||
| Each line in a gitignore/ | Each line in a gitignore/ | ||
| Line 91: | Line 93: | ||
| * Patterns read from the file specified by the configuration variable '' | * Patterns read from the file specified by the configuration variable '' | ||
| - | ===== Rationale for different levels of gitignore files ===== | + | ==== Rationale for different levels of gitignore files ==== |
| * Patterns which should be version-controlled and distributed to other repositories via clone (i.e., files that //all// developers will want to ignore) should go into a '' | * Patterns which should be version-controlled and distributed to other repositories via clone (i.e., files that //all// developers will want to ignore) should go into a '' | ||
| Line 101: | Line 103: | ||
| </ | </ | ||
| - | ===== Debugging gitignore files ===== | + | ==== Debugging gitignore files ==== |
| < | < | ||
| $ man git-check-ignore | $ man git-check-ignore | ||
| </ | </ | ||
| + | |||
| + | ===== gitignore gotchas ===== | ||
| + | |||
| + | * Since '' | ||