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