$ git clone -n https://gitee.com/yan1hcdc/ldns.git /var/lib/mock/dist-an23-build-482515-74272/root/chroot_tmpdir/scmroot/ldns Cloning into '/var/lib/mock/dist-an23-build-482515-74272/root/chroot_tmpdir/scmroot/ldns'... $ git fetch origin 6f37058cee3a1a4c5b1c637024c00e840b821745:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/ldns * [new ref] 6f37058cee3a1a4c5b1c637024c00e840b821745 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6f37058 fix build against gcc 14