$ git clone -n https://gitee.com/src-anolis-os/mcelog.git /mnt/mock/kojid//dist-an23.3-riscv-build-440789-73130/root/chroot_tmpdir/scmroot/mcelog Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-440789-73130/root/chroot_tmpdir/scmroot/mcelog'... $ git fetch origin e7f2e5242170187979405eae4fe16d325bee3f81:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mcelog * [new ref] e7f2e5242170187979405eae4fe16d325bee3f81 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e7f2e52 adapt for riscv64