]> git.phdru.name Git - git-scripts.git/commitdiff
Feat(update-remotes): rsync itself from current to origin
authorOleg Broytman <phd@phdru.name>
Tue, 20 Aug 2024 12:57:05 +0000 (15:57 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 20 Aug 2024 13:00:27 +0000 (16:00 +0300)
update-remotes

index 7d8f0c2522adee2561ae5153a7173bf289b57fbb..710fed772525dccee13016fba710aed5f978017b 100755 (executable)
@@ -10,6 +10,7 @@ if [ -n "$origin" ]; then
         echo "Config error (both origin and current)" >&2
         exit 1
     else
+        rsync -ahPv update-remotes "$origin"
         cd "$origin"
         exec ./update-remotes "$@"
     fi