$ git clone -n https://gitee.com/guost123/annobin.git /var/lib/mock/dist-an23.3-build-432098-73058/root/chroot_tmpdir/scmroot/annobin Cloning into '/var/lib/mock/dist-an23.3-build-432098-73058/root/chroot_tmpdir/scmroot/annobin'... $ git fetch origin cce8d71843fc0a199258e62d2beb1e5f17fe1583:KOJI_FETCH_HEAD From https://gitee.com/guost123/annobin * [new ref] cce8d71843fc0a199258e62d2beb1e5f17fe1583 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cce8d71 adapt for riscv64