$ git clone -n https://gitee.com/src-anolis-os/xxhash.git /var/lib/mock/dist-an23-build-141653-53403/root/chroot_tmpdir/scmroot/xxhash Cloning into '/var/lib/mock/dist-an23-build-141653-53403/root/chroot_tmpdir/scmroot/xxhash'... $ git reset --hard origin/a23 HEAD is now at a8bc884 optimise spec file