Versionsunterschiede von Git / Ein Eigenes Repository Einrichten
20 | https://docs.github.com/en/get-started/getting-started-with-git/setting-your-username-in-git | 20 | https://docs.github.com/en/get-started/getting-started-with-git/setting-your-username-in-git |
---|---|---|---|
21 | 21 | ||
22 | Globale E-Mail | 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 | 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 | 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 | =====2. Ein leeres Git Repository initialisieren ==== | 28 | =====2. Ein leeres Git Repository initialisieren ==== |
29 |
Nachfolgende Anweisung erstellt das Verzeichnis |
29 | Nachfolgende Anweisung erstellt das Verzeichnis /Lokal/Nutzername/MeinWiki im Projektordner in Deinem Homeverzeichnis, sowie einen versteckten .git Ordner im Unterverzeichnis ../../MeinWiki. |
30 | 30 | ||
31 |
%%(cl) git init /home/(username)/Projekt/Lokal/ |
31 | %%(cl) git init /home/(username)/Projekt/Lokal/(LokalerGit-Nutzername)/MeinWiki%% |
32 | 32 | ||
33 | 33 | ||
34 | 34 | ||
… | … | … | … |
39 | %%(cl) git config user.name "Lokaler Git-Nutzername" %% | 39 | %%(cl) git config user.name "Lokaler Git-Nutzername" %% |
40 | 40 | ||
41 | 41 | ||
42 | 42 | Konfigurationsdatei für Dein Repository überprüfen: | |
43 | %%(cl) cat /home/(username)/Projekt/Lokal/(LokalerGit-Nutzername)/MeinWiki/.git/config%% | ||
43 | 44 | ||
44 | Globale und lokale Nutzerkonten | Statusinformationen | | 45 | Globale und lokale Nutzerkonten | Statusinformationen | |
45 | 46 |