$ git clone -n https://gitee.com/src-opencloudos-rpms/exempi.git /var/lib/mock/dist-oc9-build-59116-16463/root/chroot_tmpdir/scmroot/exempi Cloning into '/var/lib/mock/dist-oc9-build-59116-16463/root/chroot_tmpdir/scmroot/exempi'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/exempi * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1da7cd3 import exempi-2.6.4-2.tl4