$ git clone -n https://gitee.com/src-opencloudos-rpms/usbredir /var/lib/mock/dist-oc8-build-27663-8510/root/chroot_tmpdir/scmroot/usbredir Cloning into '/var/lib/mock/dist-oc8-build-27663-8510/root/chroot_tmpdir/scmroot/usbredir'... $ git reset --hard origin/oc8 HEAD is now at 42282f6 import usbredir-0.12.0-2.tl3