diff --git a/day1/03_Basics/05_Gitignore.md b/day1/03_Basics/05_Gitignore.md index 43f5e1b..97c0b28 100644 --- a/day1/03_Basics/05_Gitignore.md +++ b/day1/03_Basics/05_Gitignore.md @@ -1,10 +1,19 @@ !SLIDE smbullets # Exclude files with .gitignore -* Build directories from source code compilation (e.g. `debug`, `release`) +* Build directories from source code compilation (e.g. `debug/`, `release/`) * Files generated at runtime (e.g. test results or stats) +* Temporary files (e.g. `*.tmp`, `temp/`) * User specific IDE settings -* Local Vagrant boxes and other temporary files + +Example: + + cat .gitignore + release/ + *.tmp + .idea + +Personal ignore patterns can be defined in `.git/info/exclude` ~~~SECTION:handouts~~~