$ git clone -n https://gitee.com/src-opencloudos-rpms/hwdata.git /var/lib/mock/dist-oc8-build-38531-12507/root/chroot_tmpdir/scmroot/hwdata Cloning into '/var/lib/mock/dist-oc8-build-38531-12507/root/chroot_tmpdir/scmroot/hwdata'... $ git reset --hard origin/oc8 HEAD is now at 8ac6f87 import hwdata-0.314-8.16.tl3