expands guide
This commit is contained in:
1 parent
1c0ef298ab
commit
a312c72141
1 file changed
+8
-16
@@ -4,33 +4,25 @@ URL: https://git.efi.th-nuernberg.de/gitea/hoangto105860/I2-Pr.git
|
||||
|
||||
## Small git guide
|
||||
|
||||
Den Ordner holen:
|
||||
|
||||
Erstmal den Ordner holen:
|
||||
```
|
||||
cd /path/folder # Gewünschter Speicherort
|
||||
git clone https://git.efi.th-nuernberg.de/gitea/hoangto105860/I2-Pr.git`
|
||||
```
|
||||
|
||||
Bei JEGLICHER Änderung:
|
||||
|
||||
|
||||
```
|
||||
git pull
|
||||
```
|
||||
Bei JEGLICHER Änderung (z.B. Löschen, Hinzufügen und Bearbeitung einer Datei):
|
||||
|
||||
```
|
||||
git pull # optional aber gut um Konflikte zu verhindern
|
||||
git add .
|
||||
```
|
||||
|
||||
Danach:
|
||||
|
||||
```
|
||||
git commit -m 'kurze Beschreibung der Änderung'
|
||||
```
|
||||
|
||||
```
|
||||
git push
|
||||
```
|
||||
|
||||
Im Falle falls einzelne Dateien verloren gegangen sind:
|
||||
```
|
||||
git pull
|
||||
```
|
||||
|
||||
## Recommended...
|
||||
|
||||
|
||||
Reference in new issue
Block a user