diff --git a/scripts/pgit.sh b/scripts/pgit.sh index cbb5c210..c80c485f 100644 --- a/scripts/pgit.sh +++ b/scripts/pgit.sh @@ -154,7 +154,8 @@ clone() if [ -d $p ]; then run_git -C $p pull --recurse-submodules=on-demand else - run_git clone $remote_base/$fromuser$remote_subpath/$p + run_git -c http.proactiveAuth=basic clone $remote_base/$fromuser$remote_subpath/$p + run_git -C $p config set http.proactiveAuth basic fi else local remotename="jw-$fromuser" @@ -174,7 +175,8 @@ clone() fi else # set -x - run_git clone $remote_base/$fromuser$remote_subpath/$p + run_git -c http.proactiveAuth=basic clone $remote_base/$fromuser$remote_subpath/$p + run_git -C $p config set http.proactiveAuth basic run_git -C $p remote rename origin $remotename || fatal failed to rename remote in $p run_git -C $p remote set-url --push $remotename no_push if [ $create_remote_user_repos = true ]; then