diff --git a/content/commits.md b/content/commits.md index d6deba0..82c3da9 100644 --- a/content/commits.md +++ b/content/commits.md @@ -450,3 +450,7 @@ their differences. - In Git, commits form a so-called "graph". Branches are tags in Git function like sticky notes that stick to specific commits. What this means for us is that it does not cost any significant disk space to create new branches. +- Not all files should be added to Git. For example, temporary files or + files with sensitive information or files which are generated as part of + the build process should not be added to Git. For this we use + `.gitignore` (more about this later: {ref}`what-to-avoid`). diff --git a/content/what-to-avoid.md b/content/what-to-avoid.md index 2e86812..75d52dd 100644 --- a/content/what-to-avoid.md +++ b/content/what-to-avoid.md @@ -1,3 +1,5 @@ +(what-to-avoid)= + # What to avoid