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