1 file changed
+6
-6
@@ -1,4 +1,4 @@
|
|||||||
# fix-submodule-branches-prod.sh
|
# fix-submodule-branches.sh
|
||||||
|
|
||||||
Bash-Script zum rekursiven Prüfen von Git-Submodulen und Umschalten von `detached HEAD` auf den passenden Branch.
|
Bash-Script zum rekursiven Prüfen von Git-Submodulen und Umschalten von `detached HEAD` auf den passenden Branch.
|
||||||
|
|
||||||
@@ -21,8 +21,8 @@ Für jedes Submodul gilt:
|
|||||||
## Nutzung
|
## Nutzung
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
chmod +x fix-submodule-branches-prod.sh
|
chmod +x fix-submodule-branches.sh
|
||||||
./fix-submodule-branches-prod.sh [optionen] [root-dir]
|
./fix-submodule-branches.sh [optionen] [root-dir]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Optionen
|
## Optionen
|
||||||
@@ -42,9 +42,9 @@ chmod +x fix-submodule-branches-prod.sh
|
|||||||
## Beispiele
|
## Beispiele
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./fix-submodule-branches-prod.sh --dry-run /pfad/zum/repo-root
|
./fix-submodule-branches.sh --dry-run /pfad/zum/repo-root
|
||||||
./fix-submodule-branches-prod.sh --init-missing /pfad/zum/repo-root
|
./fix-submodule-branches.sh --init-missing /pfad/zum/repo-root
|
||||||
./fix-submodule-branches-prod.sh --init-missing --force-switch /pfad/zum/repo-root
|
./fix-submodule-branches.sh --init-missing --force-switch /pfad/zum/repo-root
|
||||||
```
|
```
|
||||||
|
|
||||||
## Ausgabe
|
## Ausgabe
|
||||||
|
|||||||
Reference in new issue
Block a user