-
Notifications
You must be signed in to change notification settings - Fork 4
/
1.0-intro.qmd
117 lines (78 loc) · 2.95 KB
/
1.0-intro.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
title: "Intro to `git`"
subtitle: "Course Introduction"
---
## First things first: Language 🇬🇧/🇩🇪
::: {.nonincremental}
- Slides are in English
- Spoken: German or English?
- Do you have a preference / does anyone not speak German?
:::
## What is the course about?
- **Goal**: Learn everything that is necessary to effectively...
- use `git` to track your own work
- use `git` to collaborate with others
- **Format**: Mix of theory & practicals
- Feel free to always ask questions any time!
## Agenda & Timeline
::: {.nonincremental}
- 10:00 - 11:30 **Block 1:** Introduction & Basics (1:30)
- 11:30 - 11:45 *Pause* ☕️
- 11:45 - 13:00 **Block 2:** Branches & More (1:15)
- 13:00 - 14:00 *Lunchbreak* 🍲
- 14:00 - 15:15 **Block 3:** Collaboration via Github (1:15)
- 15:15 - 15:30 *Pause* ☕️
- 15:30 - 16:45 **Block 4:** Advanced Github & Beyond (1:15)
:::
The speed of the class is always a bit variable, so the number of covered topics may differ a bit.
## Introductions: Who am I? 🙋🏼♂️
- Jan Simson
- Doing PhD at Ludwig-Maximilian University München
- Background
- Computer Science (Ausbildung)
- BSc Psychology (Konstanz)
- MSc Behavioural Data Science (Amsterdam)
- Worked at research lab & startup before
- Worked with `git` for a couple of years
## Introductions: Who are you? 🙋🏻♀️🙋🏽♂️🙋
::: {.nonincremental}
- What do you wish to learn from this course?
- Do you have any experience with git already?
- What's your GitHub username?
:::
![](images/qr_code-quiz.svg)
<https://pingo.scc.kit.edu/>
## Introductions: Administration 📜
::: {.nonincremental}
- I will go over the list of registered students
- Is everyone registered for the course?
:::
## Prerequisites (Any Problems?)
- Software
- *git*: The tool itself
- *Sourcetree*: A graphical user interface (GUI) to use git
- *Visual Studio Code*: A text editor, which also allows using git via its GUI
- *GitHub*: Website to collaborate via git
## Text Editor: Visual Studio Code
![Screenshot of VS Code](images/screenshots/vscode.png)
## Text Editor: Visual Studio Code
- Text Editor: A program to write text
- Only text i.e. no layouting / formatting (unlike Microsoft Word)
- Quick Demonstration
- Opening workbench in a folder
## Practical: Folder Structure {background-color="black"}
![Screenshot of the folder structure we'll use](images/screenshots/folder-structure.png)
## Practical: Text Editing {background-color="black"}
1. Open Visual Studio Code on your computer
- Explore the UI
- Set a theme if you want to
2. Create a new folder called `repositories`
3. Inside it, create a new folder called `git-exercise`
4. Open `git-exercise` in Visual Studio Code
- Create a new file `test.txt` and write in it <br> `Hello World!`
## *End of Section* 🎉 {background-color="black"}
:::{.r-fit-text}
Any Questions?
:::
[[🏡 Back to Overview]](./index.html)
[[⏩️ Next Section]](./1.1-what_is_git.html)