$ git clone -n https://gitee.com/zhoujiajia111/ldns.git /var/lib/mock/dist-an23.3-build-440071-73067/root/chroot_tmpdir/scmroot/ldns Cloning into '/var/lib/mock/dist-an23.3-build-440071-73067/root/chroot_tmpdir/scmroot/ldns'... $ git fetch origin 939e7da6f16b5bb33e6b7abe897a1a7738a3248c:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/ldns * [new ref] 939e7da6f16b5bb33e6b7abe897a1a7738a3248c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 939e7da Fix for check_source