$ git clone -n https://gitee.com/src-anolis-os/python-hatch-vcs.git /mnt/mock/kojid//dist-an23.3-riscv-build-438669-73130/root/chroot_tmpdir/scmroot/python-hatch-vcs Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-438669-73130/root/chroot_tmpdir/scmroot/python-hatch-vcs'... $ git fetch origin a2a872fe45fbc97ccbd207059efbbf4e54e8ffc3:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/python-hatch-vcs * [new ref] a2a872fe45fbc97ccbd207059efbbf4e54e8ffc3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a2a872f Work with setuptools_scm 7.1