$ git clone -n https://gitee.com/src-opencloudos-rpms/usbguard.git /var/lib/mock/dist-oc9-build-72197-47659/root/chroot_tmpdir/scmroot/usbguard Cloning into '/var/lib/mock/dist-oc9-build-72197-47659/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 71a6923 import usbguard-1.1.2-6.tl4