Skip to content

Commit 402065b

Browse files
committed
Removed repeated code from slides and rendered
1 parent 9a51578 commit 402065b

26 files changed

+3144
-3126
lines changed

session-break-slide.html

+234-219
Large diffs are not rendered by default.

session-break-slide.qmd

-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Break"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
144
execute:
155
echo: false
166
eval: true
17-
embed-resources: true
187
---
198

209
```{r}

session-commit-main.html

+243-228
Large diffs are not rendered by default.

session-commit-main.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Commit to main (and undo last commit!)"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## Not recommended, but sometimes useful

session-conflict.html

+251-236
Large diffs are not rendered by default.

session-conflict.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Conflicts!"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## Conflicts!

session-fork-clone.html

+261-246
Large diffs are not rendered by default.

session-fork-clone.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Getting copies of existing repositories (fork and clone)"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## Existing repositories

session-intro.html

+228-213
Large diffs are not rendered by default.

session-intro.qmd

-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Introduction"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
144
execute:
155
echo: false
16-
eval: false
17-
embed-resources: true
186
---
197

208
## Opinionated Course Aims

session-prework.html

+239-224
Large diffs are not rendered by default.

session-prework.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Prework for a computer"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## Check Git

session-pull-requests.html

+262-247
Large diffs are not rendered by default.

session-pull-requests.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Pull Requests"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## Pushing to the remote (GitHub)

session-setup.html

+252-237
Large diffs are not rendered by default.

session-setup.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Getting started with Git and GitHub"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## Configure Git

session-undo-merge.html

+229-214
Large diffs are not rendered by default.

session-undo-merge.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Undo last merge"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## The benefit of working in increments

session-usethis-errors.html

+242-227
Large diffs are not rendered by default.

session-usethis-errors.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - {usethis} errors"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## Error in "stop_bad_github_remote_config()"

session-usethis-gert.html

+247-232
Large diffs are not rendered by default.

session-usethis-gert.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Workflow with {usethis} and {gert}"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## Not the command line!

session-version-control.html

+228-213
Large diffs are not rendered by default.

session-version-control.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - What is version control?"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## Git - the version control system

session-version-workflow.html

+228-213
Large diffs are not rendered by default.

session-version-workflow.qmd

-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
title: "Introduction to Git and GitHub"
3-
title-slide-attributes:
4-
data-background-color: "#43464B"
53
subtitle: "Session - Versioning workflow"
6-
author: "Zoë Turner"
7-
format:
8-
revealjs:
9-
theme: [default, nhsr-quarto.scss]
10-
logo: https://raw.githubusercontent.com/nhs-r-community/assets/main/logo/nhsr-logo.svg
11-
code-link: true
12-
css: nhsr-quarto.scss
13-
preview-links: true
14-
execute:
15-
echo: true
16-
eval: false
17-
embed-resources: true
184
---
195

206
## Snapshots

0 commit comments

Comments
 (0)