README.md aktualisiert
This commit is contained in:
@@ -4,23 +4,32 @@
|
|||||||
`git --version` -> Prüfen ob git auf eurem PC vorhanden ist.
|
`git --version` -> Prüfen ob git auf eurem PC vorhanden ist.
|
||||||
|
|
||||||
**Im Projekt Ordner**
|
**Im Projekt Ordner**
|
||||||
|
|
||||||
`git init` -> Lokales Repo erstellen
|
`git init` -> Lokales Repo erstellen
|
||||||
|
|
||||||
`git remote add origin https://gitea.bunicorner.de/DEIN_USERNAME/DEIN_REPOSITORY.git` -> Diese Webseite mit deinem Projekt verknüpfen
|
`git remote add origin https://gitea.bunicorner.de/DEIN_USERNAME/DEIN_REPOSITORY.git` -> Diese Webseite mit deinem Projekt verknüpfen
|
||||||
|
|
||||||
`git remote -v` -> Überprüfen
|
`git remote -v` -> Überprüfen
|
||||||
|
|
||||||
**Ergebniss im Optimalfall:**
|
**Ergebniss im Optimalfall:**
|
||||||
|
|
||||||
origin https://gitea.bunicorner.de/DEIN_USERNAME/DEIN_REPOSITORY.git (fetch)
|
origin https://gitea.bunicorner.de/DEIN_USERNAME/DEIN_REPOSITORY.git (fetch)
|
||||||
|
|
||||||
origin https://gitea.bunicorner.de/DEIN_USERNAME/DEIN_REPOSITORY.git (push)
|
origin https://gitea.bunicorner.de/DEIN_USERNAME/DEIN_REPOSITORY.git (push)
|
||||||
|
|
||||||
## Account mit Git verbinden
|
## Account mit Git verbinden
|
||||||
`git config --global user.name "NUTZERNAME"`
|
`git config --global user.name "NUTZERNAME"`
|
||||||
|
|
||||||
`git config --global user.email "EMAIL-ADRESSE"`
|
`git config --global user.email "EMAIL-ADRESSE"`
|
||||||
|
|
||||||
## Projekt pushen (hochladen)
|
## Projekt pushen (hochladen)
|
||||||
`git add .` -> Änderungen zu Git hinzufügen
|
`git add .` -> Änderungen zu Git hinzufügen
|
||||||
|
|
||||||
`git commit -m "NACHRICHT"` -> Eine Nachricht hinzufügen
|
`git commit -m "NACHRICHT"` -> Eine Nachricht hinzufügen
|
||||||
|
|
||||||
`git push -u origin master` -> Das Projekt auf diese Webseite hochladen
|
`git push -u origin master` -> Das Projekt auf diese Webseite hochladen
|
||||||
|
|
||||||
## Projekt pullen (herunterladen)
|
## Projekt pullen (herunterladen)
|
||||||
`git pull` -> Eure Version mit der Webseite aktualiesieren
|
`git pull` -> Eure Version mit der Webseite aktualiesieren
|
||||||
|
|
||||||
`git clone https://gitea.bunicorner.de/DEIN_USERNAME/DEIN_REPOSITORY.git` -> Projekt erstmalig von der Webseite herunterladen
|
`git clone https://gitea.bunicorner.de/DEIN_USERNAME/DEIN_REPOSITORY.git` -> Projekt erstmalig von der Webseite herunterladen
|
||||||
Reference in New Issue
Block a user