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 | Wechsele in Dein Arbeitsverzeichnis fĂĽr Dein Repo |
| 36 | %%(cl) cd /home/(username)/Projekt/Lokal/(LokalerGitNutzername)/MeinWiki%% |
| 37 | |
| 38 | Lokalen GitNutzer Namen einrichten |
| 39 | %%(cl) git config user.name "Vorname Name" %% |
| 40 | |
| 41 | E-Mail Adresse zum Lokalen GitNutzer einrichten |
| 42 | %%(cl) git config user.email "user@example.com" %% |
| 43 | |
| 44 | Konfigurationsdatei fĂĽr Dein Repository ĂĽberprĂĽfen: |
| 45 | %%(cl) cat /home/(username)/Projekt/Lokal/(LokalerGitNutzername)/MeinWiki/.git/config%% |
| 46 | |
| 47 | Globale und lokale Nutzerkonten | Statusinformationen | |
| 48 | |
| 49 | ====Mit dem Repository arbeiten==== |
| 50 | ((!/../git-Directory)) |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | =====Statusinformationen== |
| 57 | git config anzeigen | git remote | git status | git log | |