$ git clone -n https://gitee.com/wb-qtt862918/libedit.git /var/lib/mock/dist-an23-build-191229-60791/root/chroot_tmpdir/scmroot/libedit Cloning into '/var/lib/mock/dist-an23-build-191229-60791/root/chroot_tmpdir/scmroot/libedit'... $ git fetch origin b3cd2fa135867012c819d4e6de9754f7f058c99f:KOJI_FETCH_HEAD From https://gitee.com/wb-qtt862918/libedit * [new ref] b3cd2fa135867012c819d4e6de9754f7f058c99f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b3cd2fa update to 20221030-3.1