$ git clone -n https://gitee.com/src-opencloudos-rpms/usbguard.git /var/lib/mock/dist-oc9-build-45378-14591/root/chroot_tmpdir/scmroot/usbguard Cloning into '/var/lib/mock/dist-oc9-build-45378-14591/root/chroot_tmpdir/scmroot/usbguard'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/usbguard * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6aad5b3 import usbguard-1.1.2-3.tl4