$ git clone -n https://gitee.com/src-anolis-os/ncurses.git /var/lib/mock/dist-an8.8-build-306899-66977/root/chroot_tmpdir/scmroot/ncurses Cloning into '/var/lib/mock/dist-an8.8-build-306899-66977/root/chroot_tmpdir/scmroot/ncurses'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/ncurses * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 195de2d Fix CVE-2023-29491