$ git clone -n https://gitee.com/src-anolis-os/ncurses.git /var/lib/mock/dist-an23-build-270206-64113/root/chroot_tmpdir/scmroot/ncurses Cloning into '/var/lib/mock/dist-an23-build-270206-64113/root/chroot_tmpdir/scmroot/ncurses'... $ git reset --hard origin/a23 HEAD is now at a53a41a New patchlevel 20230520