$ git clone -n https://gitee.com/src-opencloudos-rpms/oscap-anaconda-addon /var/lib/mock/dist-oc8-build-11787-1852/root/chroot_tmpdir/scmroot/oscap-anaconda-addon Cloning into '/var/lib/mock/dist-oc8-build-11787-1852/root/chroot_tmpdir/scmroot/oscap-anaconda-addon'... $ git reset --hard d6637d0d42b95288c69f863f244d49fe105b5488 HEAD is now at d6637d0 import oscap-anaconda-addon-1.2.1-4.oc8