$ git clone -n https://gitee.com/src-anolis-os/mecab.git /mnt/mock/kojid//dist-an23.3-riscv-build-437714-73130/root/chroot_tmpdir/scmroot/mecab Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437714-73130/root/chroot_tmpdir/scmroot/mecab'... $ git fetch origin dceab0c547ef7124f6e9db9484a848332aabd5b7:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mecab * [new ref] dceab0c547ef7124f6e9db9484a848332aabd5b7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dceab0c Refactor the spec file