6 Apr
2022
6 Apr
'22
11:03 a.m.
here it is as a clearer multiline bash script. i suppose those are copypasteable too. [for spice, i made this to put https://github.com/osmocom/rtl-sdr.git on a cdrom.] #!/usr/bin/env bash ORIGIN_USER="$1" ORIGIN_REPO="$2" curl -v https://github.com/"$ORIGIN_USER"/"$ORIGIN_REPO"/network/members | sed -ne 's!.*class="" href="/\([^/]\{1,\}\)/\([^/]\{1,\}\)">.*!\1 \2!p' | while read forkuser forkrepo do git remote add "$forkuser" https://github.com/"$forkuser"/"$forkrepo" git fetch "$forkuser" done git log --all