$ git clone -n https://gitee.com/src-anolis-os/nettle.git /var/lib/mock/dist-an23-build-375461-71705/root/chroot_tmpdir/scmroot/nettle Cloning into '/var/lib/mock/dist-an23-build-375461-71705/root/chroot_tmpdir/scmroot/nettle'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/nettle * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b63f919 fix epoch missing