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