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