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