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/20 07:55] – [Four levels of ignoring files] 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 '' | ||
| - | ===== Advanced | + | ===== Advanced |
| ==== Four levels of ignoring files ==== | ==== Four levels of ignoring files ==== | ||
| Line 93: | 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 103: | Line 103: | ||
| </ | </ | ||
| - | ===== Debugging gitignore files ===== | + | ==== Debugging gitignore files ==== |
| < | < | ||
| $ man git-check-ignore | $ man git-check-ignore | ||
| </ | </ | ||
| + | |||
| + | ===== gitignore gotchas ===== | ||
| + | |||
| + | * Since '' | ||