$ git clone -n https://gitee.com/src-opencloudos-rpms/usbguard.git /var/lib/mock/dist-oc8-build-34526-10869/root/chroot_tmpdir/scmroot/usbguard Cloning into '/var/lib/mock/dist-oc8-build-34526-10869/root/chroot_tmpdir/scmroot/usbguard'... $ git reset --hard 4290c92ad5efc72e37bad7121f72c175ad5673b4 HEAD is now at 4290c92 import usbguard-1.0.0-8.oc8.2