$ git clone -n https://gitee.com/src-anolis-os/rest.git /mnt/mock/kojid//dist-an23.3-riscv-build-439286-73130/root/chroot_tmpdir/scmroot/rest Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439286-73130/root/chroot_tmpdir/scmroot/rest'... $ git fetch origin fe9e58142b39019a16a5249bb7b054e76c9b9fcf:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/rest * [new ref] fe9e58142b39019a16a5249bb7b054e76c9b9fcf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fe9e581 Import package for anolis 23