|
| 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