$ git clone -n https://gitee.com/src-anolis-os/dtc.git /mnt/mock/kojid//dist-an23.3-riscv-build-436076-73130/root/chroot_tmpdir/scmroot/dtc Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436076-73130/root/chroot_tmpdir/scmroot/dtc'... $ git fetch origin b154528d80de5a82e3997e20376e5d7e20eec8e3:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/dtc * [new ref] b154528d80de5a82e3997e20376e5d7e20eec8e3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b154528 Update to 1.7.0 from 1.6.1