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