$ git clone -n https://gitee.com/src-opencloudos-rpms/CUnit.git /var/lib/mock/dist-oc9-build-69651-47323/root/chroot_tmpdir/scmroot/CUnit Cloning into '/var/lib/mock/dist-oc9-build-69651-47323/root/chroot_tmpdir/scmroot/CUnit'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/CUnit * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5ed6764 import CUnit-2.1.3-4.tl4