Webseiten-1 » History » Version 18
Nico Schottelius, 05/01/2017 12:37 PM
1 | 13 | Nico Schottelius | {{toc}} |
---|---|---|---|
2 | 11 | Nico Schottelius | |
3 | 1 | Mihreteab Tesfahannes | h1. Webseiten-1 |
4 | 2 | Mihreteab Tesfahannes | |
5 | 8 | Nico Schottelius | |_. Thema |_. Beschreibung | |
6 | | Kommandozeilen-Grundwissen | Grundbefehle kennenlernen | |
||
7 | 1 | Mihreteab Tesfahannes | | Basis SSH | Verstehen, was ssh ist, public keys | |
8 | 14 | Nico Schottelius | | git-Versionskontrolle | |
9 | | Webseite in Github pages |um die Website zu veröfentlichen| |
||
10 | 8 | Nico Schottelius | |
11 | h2. Kommandozeilen-Grundwissen |
||
12 | |||
13 | 17 | Nico Schottelius | |
14 | |||
15 | 10 | Nico Schottelius | Ziele: |
16 | |||
17 | * Im Dateisystem navigieren können |
||
18 | 11 | Nico Schottelius | * Unterschied zwischen Datei und Verzeichnis verstehen |
19 | 10 | Nico Schottelius | * <Befehl> <Leerzeichen> <Parameter> verstehen |
20 | |||
21 | 8 | Nico Schottelius | |
22 | |_. Befehl |_. Beschreibung | |
||
23 | 9 | Nico Schottelius | | pwd | Zeige an, wo ich bin (*pwd = print working directory*) | |
24 | 11 | Nico Schottelius | | ls | Zeige an, was im Verzeichnis ist (*ls = list*) | |
25 | 9 | Nico Schottelius | | cd Desktop | Gehe zum Desktop (*change directory*) | |
26 | 8 | Nico Schottelius | | pwd | Zeige an, wo ich bin | |
27 | | cd / | Gehe nach / | |
||
28 | 1 | Mihreteab Tesfahannes | | pwd | Zeige an, wo ich bin | |
29 | 14 | Nico Schottelius | | cd ~ | Gehe nach Hause | |
30 | 16 | Nico Schottelius | | echo hallo | Sage hallo (*echo = etwas schreiben*)| |
31 | 14 | Nico Schottelius | | echo hallo > testdatei.txt | Schreibe hallo in textdatei.txt | |
32 | 16 | Nico Schottelius | | cat testdatei.txt | Zeige Inhalt von testdatei.txt an (*cat = concatenate*) | |
33 | 14 | Nico Schottelius | |
34 | 1 | Mihreteab Tesfahannes | |
35 | 17 | Nico Schottelius | h2. Git-Versionskontrolle |
36 | 1 | Mihreteab Tesfahannes | |
37 | 17 | Nico Schottelius | *UNDER CONSTRUCTION* |
38 | |||
39 | 18 | Nico Schottelius | |_. Befehl / Aktion |_. Beschreibung | |
40 | | Einführung Versionkontrolle | Warum? Änderungen merken können | |
||
41 | 17 | Nico Schottelius | | mkdir testrepository | Verzeichnis erstellen | |
42 | 1 | Mihreteab Tesfahannes | | cd testrepository | In das Verzeichnis testrepository wechseln | |
43 | 18 | Nico Schottelius | | git config --global user.email "Meine.Email@meine-domain.ch" | Git sagen, was meine E-Mail ist | |
44 | | git config --global user.name "Nico Schottelius" | Git sagen, das ich "Nico Schottelius" heisse | |
||
45 | 1 | Mihreteab Tesfahannes | | git init | Verzeichnis in ein git repository umwandeln | |
46 | 18 | Nico Schottelius | | .... | |
47 | | git status | Status von git zeigen |
||
48 | | git add datei | Merken zum Hinzufügen | |
||
49 | | git commit -m "Meine erste Datei" | |
||
50 | 17 | Nico Schottelius | |
51 | |||
52 | 1 | Mihreteab Tesfahannes | h2. Github pages |
53 | 18 | Nico Schottelius | |
54 | |_. Befehl / Aktion |_. Beschreibung | |
||
55 | | |
||
56 | 17 | Nico Schottelius | |
57 | | git clone | | |