X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update;h=2e0aa7843953217b66a23dffddef3dfa47f664d6;hb=5ce70d78ec131c501d2dcc0732cda2def2d95977;hp=aa62c97ea9762dc153a89ca83b1439f7dac5244a;hpb=d16904d9393b9d9d685a79aceeb1fe3ebb25b468;p=git-scripts.git diff --git a/update b/update index aa62c97..2e0aa78 100755 --- a/update +++ b/update @@ -19,6 +19,8 @@ fi git pull --ff-only current master && web="`git config --get --path remote.web.url`" && -[ -n "$web" ] && git push web +if [ -n "$web" ]; then + git push web master +fi && cd "$current" && exec git pull origin