$ git clone -n https://gitee.com/src-opencloudos-rpms/usbguard /var/lib/mock/dist-oc8-build-20162-4669/root/chroot_tmpdir/scmroot/usbguard Cloning into '/var/lib/mock/dist-oc8-build-20162-4669/root/chroot_tmpdir/scmroot/usbguard'... $ git reset --hard origin/oc8 HEAD is now at 875a843 import usbguard-1.0.0-8.oc8