Skip to content

Commit 6a01610

Browse files
committed
Attempting to setup github pages
1 parent 676f711 commit 6a01610

File tree

14 files changed

+755
-0
lines changed

14 files changed

+755
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This is a basic workflow for the Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "main" (or "master") branch
8+
push:
9+
branches:
10+
- master
11+
- main
12+
pull_request:
13+
branches:
14+
- master
15+
- main
16+
17+
# Allows you to run this workflow manually from the Actions tab
18+
workflow_dispatch:
19+
20+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
21+
jobs:
22+
# This workflow contains a single job called "deploy"
23+
deploy:
24+
# The type of runner that the job will run on
25+
runs-on: ubuntu-latest
26+
27+
# Steps represent a sequence of tasks that will be executed as part of the job
28+
steps:
29+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
30+
- uses: actions/checkout@v4
31+
- uses: actions/setup-python@v5
32+
with:
33+
python-version: 3.x
34+
- run: pip install mkdocstrings mkdocs-embed-external-markdown feedparser mkdocs-gen-files markdown-exec[ansi] markdown-include mkdocs-open-in-new-tab markdown-extra python-markdown-comments markdown-footnotes pymdown-extensions graphviz
35+
- run: mkdocs gh-deploy --force

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
_build
2+
_site.build
3+
site.build
4+
*~
5+
*.swp
6+
*.swo
7+
wordlist.dic

docs/images/git-logo-larger.png

3.93 KB
Loading

docs/images/git-logo.png

3.69 KB
Loading

docs/images/hpc2n-blue-text.png

71.4 KB
Loading

docs/images/logo-text.png

123 KB
Loading

docs/images/logo.png

111 KB
Loading

docs/images/naiss.png

6.53 KB
Loading
96.6 KB
Loading

docs/index.md

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
# Welcome to "Introduction to Git" course material
2+
3+
!!! Note "This material"
4+
5+
Here you will find the content of the workshop "Introduction to Git".
6+
7+
- Git repository for the course: <a href="https://github.com/hpc2n/course-intro-git" target="_blank">https://github.com/hpc2n/course-intro-git</a>.
8+
9+
!!! Admonition "Content"
10+
11+
- This course aims to give a brief, but comprehensive introduction to using Git from the command line, as well as using GitHub.
12+
- You will learn about
13+
- Basic commands
14+
- Basic concepts
15+
- The commit tree
16+
- Branches
17+
- merges
18+
- conflicts
19+
- Remote repositories
20+
- Git in teamwork
21+
22+
- **We aim to give this course every fall.**
23+
24+
!!! Warning
25+
26+
**Target group**
27+
28+
- This NAISS course is a cooperation between HPC2N and UPPMAX.
29+
- It is open for anyone in Swedish academia.
30+
- You will be using your own computer or other existing computer access for the course. If you do not have access to a computer that can run Git (or which you can install Git on), then there will be an option to use NAISS resources for this (Tetralith).
31+
32+
## Pre-requirements
33+
34+
- Basic knowledge of using the command line.
35+
- Some material for self-study here:
36+
- <a href="http://docs.uppmax.uu.se/getting_started/linux/" target="_blank">UPPMAX Linux getting started</a>
37+
- <a href="https://docs.hpc2n.umu.se/tutorials/linuxguide/" target="_blank">Linux tutorial and "cheat sheet"</a>
38+
- <a href="https://github.com/hpc2n/intro-linux" target="_blank">HPC2N's Linux intro course material (including link to recordings)</a>
39+
- Basic knowledge of using a text editor of your choice on your system.
40+
- Information about Linux editors here: https://docs.hpc2n.umu.se/tutorials/linuxguide/#editors
41+
- A <a href="https://github.com/" target="_blank">GitHub user account</a> (free - can be created for the course).
42+
- A reasonably recent version of Git installed on your system. See <a href="https://git-scm.com/" target="_blank">the Git homepage</a>.
43+
44+
## Some practicals
45+
46+
### Zoom
47+
48+
- You should have gotten an email with the links
49+
- Main room for lectures (recorded)
50+
- Possibly breakout rooms
51+
- exercises, including a silent room for those who just want to work on their own without interruptions.
52+
help
53+
- The **lectures and demos will be recorded**, but **NOT the exercises**.
54+
- If you ask questions during the lectures, you may thus be recorded.
55+
- If you do not wish to be recorded, then please keep your microphone muted and your camera off during lectures and write your questions in the Q/A document (see more information below about the collaboration documents which are also listed above).
56+
- Use your REAL NAME.
57+
- Please MUTE your microphone when you are not speaking
58+
- Use the “Raise hand” functionality under the “Participants” window during the lecture.
59+
- Please do not clutter the Zoom chat.
60+
- Behave politely!
61+
62+
### Q/A collabration document
63+
64+
- Use the Q/A page for the workshop with your questions.
65+
- <a href="https://umeauniversity.sharepoint.com/:w:/s/HPC2N630/EdGtUQbzqvRDu1UFAj1vrEEBegJLNy3wzrUlu3-oQYyYkw" target="_blank">https://umeauniversity.sharepoint.com/:w:/s/HPC2N630/EdGtUQbzqvRDu1UFAj1vrEEBegJLNy3wzrUlu3-oQYyYkw</a>
66+
- Create a new line for new questions. Take care if others are editing at the same time.
67+
68+
### Important info document
69+
70+
- There is an "important info" document with information for the course. You have gotten an email with a link to this: <a href="https://umeauniversity.sharepoint.com/:w:/s/HPC2N630/Eapzrh9uWHBCj__7L63KFXkBAvUfBfEJfgvTfBHc-S0BiA?e=2GWXsM" target="_blank">https://umeauniversity.sharepoint.com/:w:/s/HPC2N630/Eapzrh9uWHBCj__7L63KFXkBAvUfBfEJfgvTfBHc-S0BiA?e=2GWXsM</a>
71+
72+
### Recordings
73+
74+
- The recordings of the course lectures will be uploaded to HPC2N's YouTube channel: <a href="https://www.youtube.com/@HPC2N" target="_blank">https://www.youtube.com/@HPC2N</a>.
75+
76+
## Preliminary schedule
77+
78+
**Monday, 2024-11-25**
79+
80+
| Time | Topic | Activity |
81+
| ---- | ----- | -------- |
82+
| 08:30 | Optional installation help (Git) | |
83+
| 09:00 | Introduction and course info | Lecture |
84+
| 09:10 | 0. Setup | Lecture+code along |
85+
| 09:30 | 1. Why use version management? | Lecture |
86+
| 10:00 | Break (15 min) | |
87+
| 10:15 | 2. Basic commands, part 1 | Lecture+code along+exercises |
88+
| 11:15 | Break (15 min) | |
89+
| 11:30 | 2. Basic commands, part 2 | Lecture+code along+exercises |
90+
| 12:00 | End of first day | |
91+
92+
**Tuesday, 2024-11-26**
93+
94+
| Time | Topic | Activity |
95+
| ---- | ----- | -------- |
96+
| 09:00 | 3. Basic concepts, part 1 | Lecture+code along |
97+
| 10:15 | Break (15 min) | |
98+
| 10:30 | 3. Basic concepts, part 2 | Lecture+code along+exercises |
99+
| 11:20 | Break (10 min) | |
100+
| 11:30 | 4. Traversing the commit tree, part 1 | Lecture+code along |
101+
| 12:00 | End of second day |
102+
103+
**Wednesday, 2024-11-27**
104+
105+
| Time | Topic | Activity |
106+
| ---- | ----- | -------- |
107+
| 09:00 | 4. Traversing the commit tree, part 2 | Lecture+code along+exercises |
108+
| 10:15 | Break (15 min) | |
109+
| 10:30 | 4. Traversing the commit tree, part 3 | Lecture+code along+exercises
110+
|
111+
| 11:00 | Break (10 min) | |
112+
| 11:10 | 5. Branches, merges, and conflicts, part 1 | Lecture+code along |
113+
| 12:00 | End of third day | |
114+
115+
**Thursday, 2024-11-28**
116+
117+
| Time | Topic | Activity |
118+
| ---- | ----- | -------- |
119+
| 09:00 | 5. Branches, merges, and conflicts, part 2 | Lecture+code along+exercises |
120+
| 09:55 | Break (10 min) | |
121+
| 10:05 | Brief intro to SSH-keys and using GitHub | Lecture+code along |
122+
| 10:15 | 6. Working with remotes, part 1 | Lecture+code along |
123+
| 10:55 | Break (10 min) | |
124+
| 11:05 | 6. Working with remotes, part 2 | Lecture+code along+exercises |
125+
| 12:00 | End of fourth day | |
126+
127+
**Friday, 2024-11-29**
128+
129+
| Time | Topic | Activity |
130+
| ---- | ----- | -------- |
131+
| 09:00 | 7. Teamwork, part 1 | Lecture+code along+exercises |
132+
| 09:55 | Break (10 min) | |
133+
| 10:05 | 7. Teamwork, part 2 | exercises |
134+
| 10:50 | Break (10 min) |
135+
| 11:00 | 7. Team work, part 3 | exercises |
136+
| 11:50 | Summary+evaluation | |
137+
| 12:00 | End of the course | |
138+
139+

0 commit comments

Comments
 (0)