Update GH clone URI field
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 7 Apr 2022 05:14:08 +0000 (01:14 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 7 Apr 2022 05:14:08 +0000 (01:14 -0400)
since git protocol is no longer supported.

home/lib/login_functions.sh

index 4a266c2..6741dfd 100644 (file)
@@ -363,7 +363,7 @@ gh_clone() {
     mkdir -p "$gh_dir"
     cd "$gh_dir" || kill -INT $$
     gh_fetch_repos "$gh_user_type" "$gh_user_name" \
-    | jq --raw-output '.[] | select(.fork | not) | .git_url' \
+    | jq --raw-output '.[] | select(.fork | not) | .clone_url' \
     | parallel -j 25 \
     git clone {}
 }
This page took 0.032218 seconds and 4 git commands to generate.