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.
|
||||
|
||||
@@ -21,8 +21,8 @@ Für jedes Submodul gilt:
|
||||
## Nutzung
|
||||
|
||||
```bash
|
||||
chmod +x fix-submodule-branches-prod.sh
|
||||
./fix-submodule-branches-prod.sh [optionen] [root-dir]
|
||||
chmod +x fix-submodule-branches.sh
|
||||
./fix-submodule-branches.sh [optionen] [root-dir]
|
||||
```
|
||||
|
||||
## Optionen
|
||||
@@ -42,9 +42,9 @@ chmod +x fix-submodule-branches-prod.sh
|
||||
## Beispiele
|
||||
|
||||
```bash
|
||||
./fix-submodule-branches-prod.sh --dry-run /pfad/zum/repo-root
|
||||
./fix-submodule-branches-prod.sh --init-missing /pfad/zum/repo-root
|
||||
./fix-submodule-branches-prod.sh --init-missing --force-switch /pfad/zum/repo-root
|
||||
./fix-submodule-branches.sh --dry-run /pfad/zum/repo-root
|
||||
./fix-submodule-branches.sh --init-missing /pfad/zum/repo-root
|
||||
./fix-submodule-branches.sh --init-missing --force-switch /pfad/zum/repo-root
|
||||
```
|
||||
|
||||
## Ausgabe
|
||||
|
||||
Reference in new issue
Block a user