$ git clone -n https://gitee.com/src-anolis-os/man-db.git /var/lib/mock/dist-an23-build-194799-60869/root/chroot_tmpdir/scmroot/man-db Cloning into '/var/lib/mock/dist-an23-build-194799-60869/root/chroot_tmpdir/scmroot/man-db'... $ git reset --hard origin/a23 HEAD is now at 97a28d2 2.11.2