X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update;h=2e0aa7843953217b66a23dffddef3dfa47f664d6;hb=4ee616e868a3a9bf83d57db6bdf171babfa80d9e;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