$ git clone -n https://gitee.com/src-anolis-os/realmd.git /mnt/mock/kojid//dist-an23.3-riscv-build-439275-73130/root/chroot_tmpdir/scmroot/realmd Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439275-73130/root/chroot_tmpdir/scmroot/realmd'... $ git fetch origin f2dd590269d20691b24c23e2004dada6e04769be:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/realmd * [new ref] f2dd590269d20691b24c23e2004dada6e04769be -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f2dd590 update source