$ git clone -n https://gitee.com/src-opencloudos-rpms/openscap.git /var/lib/mock/dist-oc8-build-38342-12399/root/chroot_tmpdir/scmroot/openscap Cloning into '/var/lib/mock/dist-oc8-build-38342-12399/root/chroot_tmpdir/scmroot/openscap'... $ git reset --hard origin/oc8 HEAD is now at b3e9903 import openscap-1.3.7-1.tl3