$ git clone -n https://gitee.com/idolsama/star.git /var/lib/mock/dist-an23-build-326581-68995/root/chroot_tmpdir/scmroot/star Cloning into '/var/lib/mock/dist-an23-build-326581-68995/root/chroot_tmpdir/scmroot/star'... $ git fetch origin 2a6364e1680181f62f22d0d7cdeb2c144ba93188:KOJI_FETCH_HEAD From https://gitee.com/idolsama/star * [new ref] 2a6364e1680181f62f22d0d7cdeb2c144ba93188 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2a6364e fix build error for riscv64