$ git clone -n https://gitee.com/src-opencloudos-rpms/less.git /var/lib/mock/dist-oc8-build-72543-47704/root/chroot_tmpdir/scmroot/less Cloning into '/var/lib/mock/dist-oc8-build-72543-47704/root/chroot_tmpdir/scmroot/less'... $ git fetch origin 55145df72606fa35cc5302f880d6f9d6ad9b3203:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/less * [new ref] 55145df72606fa35cc5302f880d6f9d6ad9b3203 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 55145df import less-530-2.tl3