$ git clone -n https://gitee.com/src-opencloudos-rpms/less.git /var/lib/mock/dist-oc8-build-81623-55450/root/chroot_tmpdir/scmroot/less Cloning into '/var/lib/mock/dist-oc8-build-81623-55450/root/chroot_tmpdir/scmroot/less'... $ git fetch origin 010c9b550511cc5c94009057ee6312c1951092f3:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/less * [new ref] 010c9b550511cc5c94009057ee6312c1951092f3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 010c9b5 import less-530-3.tl3