$ git clone -n https://gitee.com/src-anolis-os/python-rpmautospec-core.git /mnt/mock/kojid//dist-an23.3-riscv-build-439019-73130/root/chroot_tmpdir/scmroot/python-rpmautospec-core Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439019-73130/root/chroot_tmpdir/scmroot/python-rpmautospec-core'... $ git fetch origin c157131b5355265f5e11f2277d8d777a597c29d1:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/python-rpmautospec-core * [new ref] c157131b5355265f5e11f2277d8d777a597c29d1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c157131 init upstream from version 0.1.4