$ git clone -n https://gitee.com/src-opencloudos-rpms/libqb.git /var/lib/mock/dist-oc9-build-70472-47436/root/chroot_tmpdir/scmroot/libqb Cloning into '/var/lib/mock/dist-oc9-build-70472-47436/root/chroot_tmpdir/scmroot/libqb'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libqb * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 69fbfa4 import libqb-2.0.8-2.tl4