$ git clone -n https://gitee.com/src-anolis-os/librepo.git /mnt/mock/kojid//dist-an23.3-riscv-build-437387-73130/root/chroot_tmpdir/scmroot/librepo Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437387-73130/root/chroot_tmpdir/scmroot/librepo'... $ git fetch origin 7ef503a458de2ed084015c1a58cd670303a8a814:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/librepo * [new ref] 7ef503a458de2ed084015c1a58cd670303a8a814 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7ef503a update to 1.15.2