Sicherung gnaz neu

This commit is contained in:
Maier Stephan SI
2023-02-15 00:55:50 +01:00
parent 56c25672f9
commit f3f89b94f5
1348 changed files with 113234 additions and 98368 deletions

View File

@@ -1,11 +0,0 @@
#!/bin/bash
gitTop=$( git rev-parse --show-toplevel 2> /dev/null )
[[ "" == "$gitTop" ]] && exit 0
gitRemotes=$gitTop/.gitremotes
[[ ! -e $gitRemotes ]] && exit 0
# if exists added remote repos then exit
[[ "$( git remote -v )" == "" ]] && exit 0
remotes=$(sed '/origin/d' $gitRemotes | awk 'NR%2==0 {print $1";"$2 }')
for r in $remotes ; do
git remote add $(echo $r | sed 's/;/ /')
done