From adba45ceb958e7770111f82c6979463b22b54be9 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Fri, 27 Oct 2023 12:07:09 +0200 Subject: [PATCH] updated tut 02 --- Tutorium/tut02/GIT.md | 2 ++ Tutorium/tut02/src/tut02.py | 1 + 2 files changed, 3 insertions(+) create mode 100644 Tutorium/tut02/src/tut02.py diff --git a/Tutorium/tut02/GIT.md b/Tutorium/tut02/GIT.md index 235737f..dc0242f 100644 --- a/Tutorium/tut02/GIT.md +++ b/Tutorium/tut02/GIT.md @@ -15,6 +15,7 @@ Gib den Key in die Konsole aus mit ```sh cat ~/.ssh/id_ed25519.pub ``` + Kopiere mit Strg+Shift+C oder Rechtklick den Key aus dem Terminal und fügen ihn im [Git](https://git.laurel.informatik.uni-freiburg.de/user/settings/keys) als SSH Key hinzu. ### Windows @@ -145,6 +146,7 @@ Changes to be committed: new file: hello_world.py ``` +mit `git add -A` können alle aktuelle Änderungen hinzugefügt werden. nun können wir die Datei in unser Git eintragen indem wir `git commit -m 'meine nachricht'` verwenden. ```sh diff --git a/Tutorium/tut02/src/tut02.py b/Tutorium/tut02/src/tut02.py new file mode 100644 index 0000000..8cde782 --- /dev/null +++ b/Tutorium/tut02/src/tut02.py @@ -0,0 +1 @@ +print("hello world")