X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=publish2web;h=b7bd785d17b33f68678c24b9ecb535fda4ca671f;hb=396a2fe8b0c7352fac32db0f7c0e65b92930904b;hp=fded7bfa0f61d9b5b56def8194442c212adfd4cf;hpb=dc4a02ec88276f27b58f2d866057d460a6c436ef;p=git-scripts.git diff --git a/publish2web b/publish2web index fded7bf..b7bd785 100755 --- a/publish2web +++ b/publish2web @@ -48,4 +48,5 @@ cd "$source_dir" && if [ -n "$directories" ]; then dest_dir="$directories/$dest_dir" fi && -exec git remote add web "$HOME"/Internet/WWW/htdocs/git.phdru.name/"$dest_dir" +git remote add web "$HOME"/Internet/WWW/htdocs/git.phdru.name/"$dest_dir" && +exec git push --set-upstream web master