$ git clone -n https://gitee.com/src-anolis-os/mtools.git /mnt/mock/kojid//dist-an23.3-riscv-build-437835-73130/root/chroot_tmpdir/scmroot/mtools Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437835-73130/root/chroot_tmpdir/scmroot/mtools'... $ git fetch origin abc2b00c95a3d5ba2d2a1993ca7205d5b4b50323:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mtools * [new ref] abc2b00c95a3d5ba2d2a1993ca7205d5b4b50323 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at abc2b00 update to 4.0.43 from 4.0.42