Skip to content

Commit

Permalink
Remove references to prior diagrams in alt text; put git commands in
Browse files Browse the repository at this point in the history
quotes
  • Loading branch information
multimeric committed May 3, 2024
1 parent 6c0a4f5 commit bd75067
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion episodes/04-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ than you would like!

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

![](fig/git-staging-area.svg){alt='A diagram showing how git add registers changes in the staging area, while git commit moves changes from the staging area to the repository'}
![](fig/git-staging-area.svg){alt='A diagram showing how "git add" registers changes in the staging area, while "git commit" moves changes from the staging area to the repository'}

Let's watch as our changes to a file move from our editor
to the staging area
Expand Down
6 changes: 3 additions & 3 deletions episodes/07-github.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ If you remember back to the earlier [episode](04-changes.md) where we added and
committed our earlier work on `mars.txt`, we had a diagram of the local repository
which looked like this:

![](fig/git-staging-area.svg){alt='The same diagram from section 4, showing how git add and git commit modify the local repository'}
![](fig/git-staging-area.svg){alt='A diagram showing how "git add" registers changes in the staging area, while "git commit" moves changes from the staging area to the repository'}

Now that we have two repositories, we need a diagram like this:

![](fig/git-freshly-made-github-repo.svg){alt='A variant of the previous diagram, now also including a second repository that exists in GitHub instead of locally'}
![](fig/git-freshly-made-github-repo.svg) {alt='A diagram illustrating how the GitHub "planets" repository is also a git repository like our local repository, but that it is currently empty'}

Check warning on line 71 in episodes/07-github.md

View workflow job for this annotation

GitHub Actions / Build markdown source files if valid

[image missing alt-text]: fig/git-freshly-made-github-repo.svg

Note that our local repository still contains our earlier work on `mars.txt`, but the
remote repository on GitHub appears empty as it doesn't contain any files yet.
Expand Down Expand Up @@ -364,7 +364,7 @@ to make Git default to using the terminal for usernames and passwords.

Our local and remote repositories are now in this state:

![](fig/github-repo-after-first-push.svg){alt='A variant of the earlier diagram, showing how "git push origin" will push changes from the local repository to the remote'}
![](fig/github-repo-after-first-push.svg){alt='A diagram showing how "git push origin" will push changes from the local repository to the remote, making the remote repository an exact copy of the local repository.'}

::::::::::::::::::::::::::::::::::::::::: callout

Expand Down
2 changes: 1 addition & 1 deletion episodes/08-collab.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ If you choose to clone without the clone path
you will clone inside your own planets folder!
Make sure to navigate to the `Desktop` folder first.

![](fig/github-collaboration.svg){alt='A variant of the previous diagram, showing that git clone can create a copy of the GitHub remote repository, so that a second person can make local changes to the repository.'}
![](fig/github-collaboration.svg){alt='A diagram showing that "git clone" can create a copy of a remote GitHub repository, allowing a second person to create their own local repository that they can make changes to.'}

The Collaborator can now make a change in her clone of the Owner's repository,
exactly the same way as we've been doing before:
Expand Down

0 comments on commit bd75067

Please sign in to comment.