$ git clone -n https://gitee.com/src-anolis-os/autogen.git /mnt/mock/kojid//dist-an23.3-riscv-build-435767-73130/root/chroot_tmpdir/scmroot/autogen Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-435767-73130/root/chroot_tmpdir/scmroot/autogen'... $ git fetch origin 75067c2faa6bcb1c6a5978ae9af554a8fde778af:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/autogen * [new ref] 75067c2faa6bcb1c6a5978ae9af554a8fde778af -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 75067c2 Refact spec