|
@@ -15,22 +15,16 @@
|
|
|
|
|
|
git init
|
|
git init
|
|
|
|
|
|
-
|
|
|
|
git add . || git add <filename>
|
|
git add . || git add <filename>
|
|
|
|
|
|
-
|
|
|
|
git commit -m "grund" || git commit -a -m "grund"
|
|
git commit -m "grund" || git commit -a -m "grund"
|
|
|
|
|
|
-
|
|
|
|
git remote add origin http://pfad.zum/repo.git
|
|
git remote add origin http://pfad.zum/repo.git
|
|
|
|
|
|
-
|
|
|
|
git push -u origin master (einmalig, dann langt git push für push ins master)
|
|
git push -u origin master (einmalig, dann langt git push für push ins master)
|
|
|
|
|
|
-
|
|
|
|
git clone url
|
|
git clone url
|
|
|
|
|
|
-
|
|
|
|
git clone --recursive
|
|
git clone --recursive
|
|
|
|
|
|
|
|
|
|
@@ -41,9 +35,13 @@ git clone --recursive
|
|
|
|
|
|
|
|
|
|
git branch <branchname> -> Branch erstellen
|
|
git branch <branchname> -> Branch erstellen
|
|
|
|
+
|
|
git checkout <branchname> -> Zum Branch wechseln
|
|
git checkout <branchname> -> Zum Branch wechseln
|
|
|
|
+
|
|
git chekcout master -> Zurück zum master Branch
|
|
git chekcout master -> Zurück zum master Branch
|
|
|
|
+
|
|
git merge <branchname> -> branch einchecken
|
|
git merge <branchname> -> branch einchecken
|
|
|
|
+
|
|
git push -> hochladen
|
|
git push -> hochladen
|
|
|
|
|
|
|
|
|