$ git clone -n https://gitee.com/src-anolis-os/setools.git /mnt/mock/kojid//dist-an23.3-riscv-build-439417-73130/root/chroot_tmpdir/scmroot/setools Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439417-73130/root/chroot_tmpdir/scmroot/setools'... $ git fetch origin bb1cac4faec174a0e00fcdf92347bf769652fc82:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/setools * [new ref] bb1cac4faec174a0e00fcdf92347bf769652fc82 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bb1cac4 update to setools-4.5.1