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