$ git clone -n https://gitee.com/src-anolis-os/expect.git /var/lib/mock/dist-an23.3-riscv-build-436105-73130/root/chroot_tmpdir/scmroot/expect Cloning into '/var/lib/mock/dist-an23.3-riscv-build-436105-73130/root/chroot_tmpdir/scmroot/expect'... $ git fetch origin f4e8bb1e1f650f72fc4c431a55f5347f95081592:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/expect * [new ref] f4e8bb1e1f650f72fc4c431a55f5347f95081592 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f4e8bb1 Remove expect-5.45-man-page.patch