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