$ git clone -n https://gitee.com/src-opencloudos-rpms/hwdata /var/lib/mock/dist-oc8-build-31838-9257/root/chroot_tmpdir/scmroot/hwdata Cloning into '/var/lib/mock/dist-oc8-build-31838-9257/root/chroot_tmpdir/scmroot/hwdata'... $ git reset --hard origin/oc8 HEAD is now at 851e172 import hwdata-0.314-8.14.oc8