$ git clone -n https://gitee.com/src-anolis-os/infinipath-psm.git /var/lib/mock/dist-an23-build-240298-62975/root/chroot_tmpdir/scmroot/infinipath-psm Cloning into '/var/lib/mock/dist-an23-build-240298-62975/root/chroot_tmpdir/scmroot/infinipath-psm'... $ git reset --hard origin/a23 HEAD is now at e8c81ae Init from upstream