$ git clone -n https://gitee.com/src-anolis-os/hfsplus-tools.git /mnt/mock/kojid//dist-an23.3-riscv-build-436408-73130/root/chroot_tmpdir/scmroot/hfsplus-tools Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436408-73130/root/chroot_tmpdir/scmroot/hfsplus-tools'... $ git fetch origin f5fe4ccfa3848618bdcd60f6e7bb9636b4502d46:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/hfsplus-tools * [new ref] f5fe4ccfa3848618bdcd60f6e7bb9636b4502d46 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f5fe4cc rebuild