$ git clone -n https://gitee.com/src-anolis-os/squid.git /var/lib/mock/dist-an23-build-306063-66849/root/chroot_tmpdir/scmroot/squid Cloning into '/var/lib/mock/dist-an23-build-306063-66849/root/chroot_tmpdir/scmroot/squid'... $ git reset --hard origin/a23 HEAD is now at 011149d init upstream from version 6.3