git_ignore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_ignore [2019/02/20 07:55] – [Rationale for different levels of gitignore files] rpjdaygit_ignore [2019/02/22 18:18] (current) – [Debugging gitignore files] rpjday
Line 82: Line 82:
  
 The Linux kernel source repo has over 200 ''.gitignore'' files. The Linux kernel source repo has over 200 ''.gitignore'' files.
-===== Advanced cleaning =====+===== Advanced ignoring =====
  
 ==== Four levels of ignoring files ==== ==== Four levels of ignoring files ====
Line 103: Line 103:
 </code> </code>
  
-===== Debugging gitignore files =====+==== Debugging gitignore files ====
  
 <code> <code>
 $ man git-check-ignore $ man git-check-ignore
 </code> </code>
 +
 +===== gitignore gotchas =====
 +
 +  * Since ''.gitignore'' is a versioned file, checking out a different commit might result in a different ''.gitignore'' file, causing unexpected behaviour.
  • git_ignore.1550649345.txt.gz
  • Last modified: 2019/02/20 07:55
  • by rpjday