Versionsunterschiede von Git / Ein Eigenes Repository Einrichten
20 | 20 | https://docs.github.com/en/get-started/getting-started-with-git/setting-your-username-in-git |
---|---|---|
21 | 21 | |
22 | 22 | Globale E-Mail |
23 |
%%(cl) git config --global user.email " |
|
23 | %%(cl) git config --global user.email "webmaster@example.com" %% | |
24 | 24 | |
25 | 25 | |
26 | 26 | https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address |
27 | 27 | |
28 | 28 | =====2. Ein leeres Git Repository initialisieren ==== |
29 |
Nachfolgende Anweisung erstellt das Verzeichnis |
|
29 | Nachfolgende Anweisung erstellt das Verzeichnis /Lokal und die Unterverzeichnisse ../Nutzername und ../../MeinWiki im Projektordner in Deinem Homeverzeichnis, sowie einen versteckten .git Ordner. | |
30 | 30 | |
31 |
%%(cl) git init /home/(username)/Projekt/Lokal/NutzerName |
|
31 | %%(cl) git init /home/(username)/Projekt/Lokal/NutzerName/MeinWiki%% | |
32 | 32 | |
33 | 33 | |
34 | 34 | |
… | … | … |
39 | 39 | %%(cl) git config user.name "Lokaler Git-Nutzername" %% |
40 | 40 | |
41 | 41 | |
42 | ||
42 | Konfigurationsdatei für Dein Repository überprüfen: | |
43 | %%(cl) cd /home/(username)//Projekt/Lokal/NutzerName/MeinWiki \ | |
44 | cat .git/config | |
45 | %% | |
43 | 46 | |
44 | 47 | Globale und lokale Nutzerkonten | Statusinformationen | |
45 | 48 |