$ git clone -n https://gitee.com/src-anolis-os/texlive-base.git /var/lib/mock/dist-an23-build-451390-73482/root/chroot_tmpdir/scmroot/texlive-base Cloning into '/var/lib/mock/dist-an23-build-451390-73482/root/chroot_tmpdir/scmroot/texlive-base'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/texlive-base * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 45dc10b adapt for riscv64