Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify code block that is not run and break out nano steps #1061

Merged
merged 2 commits into from
Jan 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions episodes/04-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <directory-with-files>
```

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
Expand Down
14 changes: 14 additions & 0 deletions episodes/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
Loading