$ git clone -n https://gitee.com/src-opencloudos-rpms/hidapi.git /var/lib/mock/dist-oc9-build-70043-47380/root/chroot_tmpdir/scmroot/hidapi Cloning into '/var/lib/mock/dist-oc9-build-70043-47380/root/chroot_tmpdir/scmroot/hidapi'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/hidapi * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 98a7809 import hidapi-0.13.1-3.tl4