$ git clone -n git+ssh://git@gitee.com/src-anolis-os/ncurses.git /var/lib/mock/dist-an23-riscv64-build-106328-45614/root/chroot_tmpdir/scmroot/ncurses Cloning into '/var/lib/mock/dist-an23-riscv64-build-106328-45614/root/chroot_tmpdir/scmroot/ncurses'... $ git reset --hard origin/a23 HEAD is now at 046af61 Revert GCC_PRINTF and GCC_SCANF to workaround some pkg build fail