$ git clone -n https://gitee.com/src-opencloudos-rpms/less.git /var/lib/mock/dist-oc9-build-75255-52170/root/chroot_tmpdir/scmroot/less Cloning into '/var/lib/mock/dist-oc9-build-75255-52170/root/chroot_tmpdir/scmroot/less'... $ git fetch origin c59a87c69c80e92784892a33084e3c578212e0b9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/less * [new ref] c59a87c69c80e92784892a33084e3c578212e0b9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c59a87c import less-633-3.tl4