Skip to content

Commit

Permalink
Merge branch 'main' into issue-687
Browse files Browse the repository at this point in the history
  • Loading branch information
erinmgraham authored Nov 18, 2024
2 parents 8cdbb9c + b190837 commit bf25f29
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
6 changes: 3 additions & 3 deletions episodes/02-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ If you elect to use a private email address with GitHub, then use GitHub's no-re

## Line Endings

As with other keys, when you hit <kbd>Enter</kbd> or <kbd>↵</kbd> or on Macs, <kbd>Return</kbd> on your keyboard,
As with other keys, when you press <kbd>Enter</kbd> or <kbd>↵</kbd> or on Macs, <kbd>Return</kbd> on your keyboard,
your computer encodes this input as a character.
Different operating systems use different character(s) to represent the end of a line.
(You may also hear these referred to as newlines or line breaks.)
Expand Down Expand Up @@ -111,8 +111,8 @@ It is possible to reconfigure the text editor for Git whenever you want to chang
## Exiting Vim

Note that Vim is the default editor for many programs. If you haven't used Vim before and wish to exit a session without saving
your changes, press <kbd>Esc</kbd> then type `:q!` and hit <kbd>Enter</kbd> or <kbd>↵</kbd> or on Macs, <kbd>Return</kbd>.
If you want to save your changes and quit, press <kbd>Esc</kbd> then type `:wq` and hit <kbd>Enter</kbd> or <kbd>↵</kbd> or on Macs, <kbd>Return</kbd>.
your changes, press <kbd>Esc</kbd> then type `:q!` and press <kbd>Enter</kbd> or <kbd>↵</kbd> or on Macs, <kbd>Return</kbd>.
If you want to save your changes and quit, press <kbd>Esc</kbd> then type `:wq` and press <kbd>Enter</kbd> or <kbd>↵</kbd> or on Macs, <kbd>Return</kbd>.


::::::::::::::::::::::::::::::::::::::::::::::::::
Expand Down
2 changes: 1 addition & 1 deletion episodes/04-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -815,4 +815,4 @@ $ git diff me.txt
- `git commit` saves the staged content as a new commit in the local repository.
- Write a commit message that accurately describes your changes.
::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::
18 changes: 9 additions & 9 deletions episodes/05-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,18 +406,18 @@ $ cat ketchup.md # this will print the content of ketchup.md on screen
```

1. ```output
ketchup enhances pasta dishes
```
ketchup enhances pasta dishes
```
2. ```output
I like tomatoes, therefore I like ketchup
```
I like tomatoes, therefore I like ketchup
```
3. ```output
I like tomatoes, therefore I like ketchup
ketchup enhances pasta dishes
```
I like tomatoes, therefore I like ketchup
ketchup enhances pasta dishes
```
4. ```output
Error because you have changed ketchup.md without committing the changes
```
Error because you have changed ketchup.md without committing the changes
```

::::::::::::::: solution

Expand Down
3 changes: 2 additions & 1 deletion episodes/06-ignore.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ You want to keep them but you do not want to track them through `git`.

:::::::::::::::::::::::::::::::::::::::: keypoints

- The `.gitignore` file tells Git what files to ignore.
- The .gitignore file is a text file that tells Git which files to track and which to ignore in the repository.
- You can list specific files or folders to be ignored by Git, or you can include files that would normally be ignored.

::::::::::::::::::::::::::::::::::::::::::::::::::

Expand Down

0 comments on commit bf25f29

Please sign in to comment.