]> git.phdru.name Git - git-scripts.git/commitdiff
Feat(update-remotes): Push additional branches to `web`
authorOleg Broytman <phd@phdru.name>
Thu, 14 Dec 2023 20:05:57 +0000 (23:05 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 14 Dec 2023 20:26:37 +0000 (23:26 +0300)
update-remotes

index 6fabc29a60439b086d47c6fbbb0b17e8e1c7e5db..4c59b31f8512c2612eb2ec074f0b246d3f3510b9 100755 (executable)
@@ -21,7 +21,7 @@ git fetch current &&
 
 web="`git config --get --path remote.web.url`" &&
 if [ -n "$web" ]; then
-   git push web
+   git push web "$@"
 fi &&
 
 cd "$current" && exec git pull origin