Skip to content

Commit 7b455a2

Browse files
committed
adding illustrations; closes #459
1 parent 836d2d1 commit 7b455a2

11 files changed

+730
-0
lines changed

content/browsing.md

+7
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ by git. A {term}`GitHub repository` is GitHub's copy, which adds
4242
things like access control. Each GitHub repository is owned by a user
4343
or organization, who controls access.
4444

45+
:::{figure} img/illustrations/fork.png
46+
:alt: Illustration of forking a repository on GitHub
47+
:width: 60%
48+
49+
Illustration of forking a repository on GitHub.
50+
:::
51+
4552
First, we need to make **our own copy** of the exercise repository. This will
4653
become important later, when we make our own changes.
4754

content/commits.md

+8
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ can merge them together easily. Image created using <https://gopherize.me/>
3838

3939
## Exercise
4040

41+
:::{figure} img/illustrations/branches.png
42+
:alt: Illustration of what we want to achieve in this exercise
43+
:width: 60%
44+
45+
Illustration of what we want to achieve in this exercise.
46+
:::
47+
48+
4149
We offer **three different paths** of how to do this exercise. For
4250
the CodeRefinery workshop day 1, we use and demonstrate the **GitHub
4351
path** only and recommend you do that
55.8 KB
Loading

content/img/illustrations/clone.png

65.1 KB
Loading

content/img/illustrations/drawing.svg

+689
Loading

content/img/illustrations/fork.png

66.4 KB
Loading

content/img/illustrations/merging.png

68.3 KB
Loading

content/img/illustrations/sharing.png

96.9 KB
Loading

content/local-workflow.md

+8
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ do, so now we move to working on your own computer.
1919

2020
## What is in a Git repository and what are we cloning?
2121

22+
:::{figure} img/illustrations/clone.png
23+
:alt: Illustration of cloning a repository to a local computer
24+
:width: 60%
25+
26+
Illustration of cloning a repository to a local computer.
27+
:::
28+
29+
2230
**Git repository**:
2331
- Contains all the files and directories of a project.
2432
- Contains the complete history of all changes (commits) to these files and directories.

content/merging.md

+9
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ the {term}`upstream` recipe book - which shows the true purpose of this. But
3636
this is only a preview and we will practice collaboration much more in the
3737
[collaborative Git lesson](https://coderefinery.github.io/git-collaborative/).
3838

39+
40+
:::{figure} img/illustrations/merging.png
41+
:alt: Illustration of what we want to achieve in this exercise
42+
:width: 60%
43+
44+
Illustration of what we want to achieve in this exercise.
45+
:::
46+
47+
3948
We offer **three different paths** of how to do this exercise. For
4049
the CodeRefinery workshop day 1, we use and demonstrate the **GitHub
4150
path** only and recommend you do that. The exercise text below has

content/sharing.md

+9
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@
1818

1919
## Exercise
2020

21+
22+
:::{figure} img/illustrations/sharing.png
23+
:alt: Illustration of how we turn a project into a Git repository and share it
24+
:width: 100%
25+
26+
From a bunch of files to a local repository which we then share on GitHub.
27+
:::
28+
29+
2130
:::::{exercise} Exercise: Turn your project to a Git repo and share it (25 min)
2231

2332
1. Create a new directory called **myproject** with one or few files in it.

0 commit comments

Comments
 (0)