$ git clone -n https://gitee.com/src-anolis-os/hiredis.git /var/lib/mock/dist-an23-build-240310-62977/root/chroot_tmpdir/scmroot/hiredis Cloning into '/var/lib/mock/dist-an23-build-240310-62977/root/chroot_tmpdir/scmroot/hiredis'... $ git reset --hard origin/a23 HEAD is now at c2fa4c0 init 1.0.2 from upstream