$ git clone -n https://gitee.com/src-opencloudos-rpms/ansible-core /var/lib/mock/dist-oc8-build-31696-9241/root/chroot_tmpdir/scmroot/ansible-core Cloning into '/var/lib/mock/dist-oc8-build-31696-9241/root/chroot_tmpdir/scmroot/ansible-core'... $ git reset --hard origin/oc8 HEAD is now at 46451ef import ansible-core-2.13.3-1.oc8