Sfoglia il codice sorgente

hw0/gittask0: fix checkout and improve explanation

Stefan Junker 8 anni fa
parent
commit
7bb5ccb9b3
1 ha cambiato i file con 14 aggiunte e 1 eliminazioni
  1. 14
    1
      hw0/README.md

+ 14
- 1
hw0/README.md Vedi File

@@ -17,8 +17,21 @@ git push origin hw0-UserA
17 17
 ### User B @ Container:
18 18
 ```bash
19 19
 cd ~/src/htwg-syslab-bsys-ws17/bsys-ws17-grpN
20
+```
21
+
22
+Hole die neusten Informationen aller Remotes
23
+```bash
20 24
 git fetch --all
21
-git checkout hw0
25
+```
26
+
27
+Verwende *origin/hw0* als Basis für die neue lokale *hw0* Branch
28
+```bash
29
+git checkout origin/hw0
30
+git checkout -b hw0
31
+```
32
+
33
+Zweige von *hw0* ab nach *hw0-UserB* und push nach auf den Fork von UserA (origin)
34
+```bash
22 35
 git checkout -b hw0-UserB
23 36
 git push origin hw0-UserB
24 37
 ```

Loading…
Annulla
Salva