From f7786876c23c55ca02e2bdb031a6869060357758 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 25 Jan 2025 16:36:27 +0000 Subject: [PATCH] markdown source builds Auto-generated via `{sandpaper}` Source : 7fcdf4c2872f8dae706fd3f8b0d5852ea401ffff Branch : main Author : Martino Sorbaro Time : 2025-01-25 16:35:23 +0000 Message : Merge pull request #1061 from erinmgraham/issue-891 clarify code block that is not run and break out nano steps --- 04-changes.md | 8 +------- 06-ignore.md | 14 ++++++++++++++ md5sum.txt | 4 ++-- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/04-changes.md b/04-changes.md index adbef52026..8a8452f0cd 100644 --- a/04-changes.md +++ b/04-changes.md @@ -579,13 +579,7 @@ Two important facts you should know about directories in Git. in otherwise empty directories. The sole purpose of `.gitkeep` files is to populate a directory so that Git adds it to the repository. The name `.gitkeep` is just a convention, and in fact, you can name these files anything you like. 2. If you create a directory in your Git repository and populate it with files, - you can add all files in the directory at once by: - - ```bash - $ git add - ``` - - Try it for yourself: + you can add all the files in the directory at once by referring to the directory in your `git add` command. Try it for yourself: ```bash $ touch cakes/brownie_cakes/lemon_drizzle diff --git a/06-ignore.md b/06-ignore.md index b89b1ae49f..0ac7efdda5 100644 --- a/06-ignore.md +++ b/06-ignore.md @@ -55,6 +55,20 @@ We do this by creating a file in the root directory of our project called `.giti ```bash $ nano .gitignore +``` + +Type the text below into the `.gitignore` file: + +``` +*.png +receipts/ +``` + +Save the file and exit your editor. + +Verify that the file contains the files to ignore. + +```bash $ cat .gitignore ``` diff --git a/md5sum.txt b/md5sum.txt index 0e8e88e25a..28d89d2a5c 100644 --- a/md5sum.txt +++ b/md5sum.txt @@ -6,9 +6,9 @@ "episodes/01-basics.md" "78184e84f5bf3b0dd88de3918e927591" "site/built/01-basics.md" "2024-06-20" "episodes/02-setup.md" "94e00017d43e8b2b539ccc74e544efc9" "site/built/02-setup.md" "2024-11-04" "episodes/03-create.md" "c1198fc3106059d83fd8078d57fbbfef" "site/built/03-create.md" "2024-09-29" -"episodes/04-changes.md" "536c198f02fa2081867a69535a78807b" "site/built/04-changes.md" "2025-01-24" +"episodes/04-changes.md" "43e427542c4d80636e63b5905528cf49" "site/built/04-changes.md" "2025-01-25" "episodes/05-history.md" "1db0ac027bd51d7d67562d71a60116c8" "site/built/05-history.md" "2025-01-10" -"episodes/06-ignore.md" "858976fc9e5db0693ac88c53a28fcdd4" "site/built/06-ignore.md" "2025-01-10" +"episodes/06-ignore.md" "dd389660bf23301b14f0ba465ae6b6e0" "site/built/06-ignore.md" "2025-01-25" "episodes/07-github.md" "f304552a6647364988d54291d44e6a40" "site/built/07-github.md" "2024-11-19" "episodes/08-collab.md" "26c15a5971a7caef2daf17c84e72d3c9" "site/built/08-collab.md" "2024-09-29" "episodes/09-conflict.md" "1a602107bd9804f23d94c403da504d8e" "site/built/09-conflict.md" "2024-09-29"