$ git clone -n https://gitee.com/src-anolis-os/python-cheetah.git /var/lib/mock/dist-an23-build-261864-63897/root/chroot_tmpdir/scmroot/python-cheetah Cloning into '/var/lib/mock/dist-an23-build-261864-63897/root/chroot_tmpdir/scmroot/python-cheetah'... $ git reset --hard origin/a23 HEAD is now at 2801897 init package