Versionsunterschiede von Git / Ein Eigenes Repository Einrichten
20 | https://docs.github.com/en/get-started/getting-started-with-git/setting-your-username-in-git |
---|---|
21 | |
22 | Globale E-Mail |
23 | %%(cl) git config --global user.email " |
24 | |
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 |
27 | |
28 | =====2. Ein leeres Git Repository initialisieren ==== |
29 | Nachfolgende Anweisung erstellt das Verzeichnis |
30 | |
31 | %%(cl) git init /home/(username)/Projekt/Lokal/ |
32 | |
33 | |
34 | Nutzer fĂĽr Dein Lokales Repo: |
35 | in Deinem Arbeitsverzeichnis fĂĽr Dein Repo |
36 | |
37 | %%(cl) git config user.name "Vorname Name" %% |
38 | %%(cl) git config user.email "user@example.com" %% |
39 | |
40 | Konfigurationsdatei fĂĽr Dein Repository ĂĽberprĂĽfen: |
41 | %%(cl) cat /home/(username)/Projekt/Lokal/(LokalerGitNutzername)/MeinWiki/.git/config%% |
42 | |
43 | Globale und lokale Nutzerkonten | Statusinformationen | |
44 | |
45 | ====Mit dem Repository arbeiten==== |
46 | ((!/../git-Directory)) |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | =====Statusinformationen== |
53 | git config anzeigen | git remote | git status | git log | |