User Tools

Site Tools


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]
rpjday [Debugging gitignore files]
git_ignore [2019/02/22 18:18]
rpjday [Debugging gitignore files]
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 108: Line 108:
 $ 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.txt ยท Last modified: 2019/02/22 18:18 by rpjday