Skip to content

Commit

Permalink
Disambiguate initial commit message for Guacamole recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
mahermanns committed Feb 21, 2025
1 parent ac1fb3b commit 03c1427
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions episodes/04-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You should be in the `recipes` directory.
$ cd ~/Desktop/recipes
```

Let's create a file called `guacamole.md` that contains the basic structure of a recipe.
Let's create a file called `guacamole.md` that contains the basic structure of our first recipe.
We'll use `nano` to edit the file;
you can use whatever editor you like.
In particular, this does not have to be the `core.editor` you set globally earlier. But remember, the steps to create or edit a new file will depend on the editor you choose (it might not be nano). For a refresher on text editors, check out ["Which Editor?"](https://swcarpentry.github.io/shell-novice/03-create.html#which-editor) in [The Unix Shell](https://swcarpentry.github.io/shell-novice/) lesson.
Expand Down Expand Up @@ -118,11 +118,11 @@ To get it to do that,
we need to run one more command:

```bash
$ git commit -m "Create a template for recipe"
$ git commit -m "Create initial structure for a Guacamole recipe"
```

```output
[main (root-commit) f22b25e] Create a template for recipe
[main (root-commit) f22b25e] Create initial structure for a Guacamole recipe
1 file changed, 1 insertion(+)
create mode 100644 guacamole.md
```
Expand Down Expand Up @@ -167,7 +167,7 @@ commit f22b25e3233b4645dabd0d81e651fe074bd8e73b
Author: Alfredo Linguini <[email protected]>
Date: Thu Aug 22 09:51:46 2013 -0400
Create a template for recipe
Create initial structure for a Guacamole recipe
```

`git log` lists all commits made to a repository in reverse chronological order.
Expand Down Expand Up @@ -471,7 +471,7 @@ commit f22b25e3233b4645dabd0d81e651fe074bd8e73b
Author: Alfredo Linguini <[email protected]>
Date: Thu Aug 22 09:51:46 2013 -0400
Create a template for recipe
Create initial structure for a Guacamole recipe
```

::::::::::::::::::::::::::::::::::::::::: callout
Expand Down Expand Up @@ -536,7 +536,7 @@ $ git log --oneline
```output
005937f (HEAD -> main) Modify guacamole to the traditional recipe
34961b1 Add ingredients for basic guacamole
f22b25e Create a template for recipe
f22b25e Create initial structure for a Guacamole recipe
```

You can also combine the `--oneline` option with others. One useful
Expand All @@ -552,7 +552,7 @@ $ git log --oneline --graph
```output
* 005937f (HEAD -> main) Modify guacamole to the traditional recipe
* 34961b1 Add ingredients for basic guacamole
* f22b25e Create a template for recipe
* f22b25e Create initial structure for a Guacamole recipe
```

::::::::::::::::::::::::::::::::::::::::::::::::::
Expand Down

0 comments on commit 03c1427

Please sign in to comment.