$ git clone -n https://gitee.com/src-opencloudos-rpms/lorax.git /var/lib/mock/dist-oc9-build-211211-80682/root/chroot_tmpdir/scmroot/lorax Cloning into '/var/lib/mock/dist-oc9-build-211211-80682/root/chroot_tmpdir/scmroot/lorax'... $ git fetch origin ea5ea11e67ffb669ced185a52e344c66142112b4:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/lorax * [new ref] ea5ea11e67ffb669ced185a52e344c66142112b4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ea5ea11 import lorax-38.2-21.tl4