Skip to content

Commit

Permalink
differences for PR #1061
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 10, 2025
1 parent b00599a commit 8f88e1d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
6 changes: 3 additions & 3 deletions 04-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,10 @@ 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:
you can add all files in the directory at once by using this command syntax:

```bash
$ git add <directory-with-files>
```
git add <directory-with-files>
```

Try it for yourself:
Expand Down
14 changes: 14 additions & 0 deletions 06-ignore.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
4 changes: 2 additions & 2 deletions md5sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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" "2ad91ac1a4bd4f1259b71b0a7a3ef81b" "site/built/04-changes.md" "2025-01-10"
"episodes/04-changes.md" "44a0585769d694ace8f0f9537068f67c" "site/built/04-changes.md" "2025-01-10"
"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-10"
"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"
Expand Down

0 comments on commit 8f88e1d

Please sign in to comment.