diff --git a/2019/2019-10-10_advancedGitTraining-SIU/slides/ignore.md b/2019/2019-10-10_advancedGitTraining-SIU/slides/ignore.md new file mode 100644 index 0000000000000000000000000000000000000000..7015bcd0695709670a97ef9365db11ff52c38962 --- /dev/null +++ b/2019/2019-10-10_advancedGitTraining-SIU/slides/ignore.md @@ -0,0 +1,17 @@ +# Ignore files + +In the file `.gitignore`, all untracked files that should be ignored by `git` are listed: +``` +.DS_Store +data +*.csv +``` + +If you want to exclude certain files from this list: +``` +!*.yml +config/*.yml +``` +This tracks changes in all yml file, but not in the `config` folder. + +Examples: www.gitignore.io \ No newline at end of file diff --git a/2019/2019-10-10_advancedGitTraining-SIU/slides/list.json b/2019/2019-10-10_advancedGitTraining-SIU/slides/list.json index d14c9ece6715e51855ca0da8c485cd55fbd3a13a..fdf6a0f656a16a408409b37117a58d811c298f92 100644 --- a/2019/2019-10-10_advancedGitTraining-SIU/slides/list.json +++ b/2019/2019-10-10_advancedGitTraining-SIU/slides/list.json @@ -2,6 +2,7 @@ { "filename": "index.md" }, { "filename": "overview.md" }, { "filename": "gettingStarted.md" }, + { "filename": "ignore.md" }, { "filename": "amend.md" }, { "filename": "reset.md" }, { "filename": "revert.md" },