$ git clone -n https://gitee.com/src-anolis-os/cronie.git /mnt/mock/kojid//dist-an23.3-riscv-build-436026-73130/root/chroot_tmpdir/scmroot/cronie Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436026-73130/root/chroot_tmpdir/scmroot/cronie'... $ git fetch origin b3d66ace9ee90a68a9dc7766f3801e3d5e96bb55:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/cronie * [new ref] b3d66ace9ee90a68a9dc7766f3801e3d5e96bb55 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b3d66ac refactor rpm spec