$ git clone -n https://gitee.com/src-opencloudos-rpms/ansible-core /var/lib/mock/dist-oc8-build-20385-4892/root/chroot_tmpdir/scmroot/ansible-core Cloning into '/var/lib/mock/dist-oc8-build-20385-4892/root/chroot_tmpdir/scmroot/ansible-core'... $ git reset --hard origin/oc8 HEAD is now at 3d0c1c9 import ansible-core-2.12.2-3.1.oc8