From: Oleg Broytman Date: Tue, 20 Aug 2024 12:57:05 +0000 (+0300) Subject: Feat(update-remotes): rsync itself from current to origin X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=c5962593856059144406cfb929cf64210151cc8c;p=git-scripts.git Feat(update-remotes): rsync itself from current to origin --- diff --git a/update-remotes b/update-remotes index 7d8f0c2..710fed7 100755 --- a/update-remotes +++ b/update-remotes @@ -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