Setting up Git
Step 1: Configuring Git
Open a new terminal
Run the following commands (replace the placeholders with your name and your TU Graz email):
Step 2: Setting up the SSH key
Windows
Open a new terminal (make sure to use
cmd.exe
, not powershell)Run the following command (change the mail address) and skip all prompts by pressing enter:
This will generate a new SSH key and copy it to your clipboard. You can also find the public key at `C:\Users\[Username]\.ssh\id_ed25519.pub`.
Open https://gitlab.tugraz.at/-/user_settings/ssh_keys in your browser and click on "Add new key".
Paste the key from your clipboard into the "Key" field and make sure that the expiration date is after the end of the semester. Then click on "Add key"
After configuring git, continue to Connecting the pico
Linux / MacOS
Open a new terminal
Run the following command (change the mail address) and simply press enter for all prompts:
Copy the output of the command to your clipboard. It should look like this:
Open https://gitlab.tugraz.at/-/user_settings/ssh_keys in your browser and click on "Add new key".
Paste the key from your clipboard into the "Key" field and make sure that the expiration date is after the end of the semester. Then click on "Add key".
After configuring git, continue to Connecting the pico