|
@@ -24,17 +24,21 @@ git clone url
|
|
git clone --recursive
|
|
git clone --recursive
|
|
|
|
|
|
|
|
|
|
|
|
+##### Branching
|
|
|
|
+
|
|
git branch <branchname> -> Branch erstellen
|
|
git branch <branchname> -> Branch erstellen
|
|
git checkout <branchname> -> Zum Branch wechseln
|
|
git checkout <branchname> -> Zum Branch wechseln
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-#### Reset lokal Repository
|
|
|
|
|
|
+##### Reset lokal Repository
|
|
|
|
|
|
git fetch origin
|
|
git fetch origin
|
|
|
|
|
|
git reset –hard origin/master
|
|
git reset –hard origin/master
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
##### Tags
|
|
##### Tags
|
|
|
|
|
|
git tag -> Tags anzeigen
|
|
git tag -> Tags anzeigen
|