$ git clone -n https://gitee.com/src-anolis-os/git.git /var/lib/mock/dist-an23.3-build-414374-72844/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-an23.3-build-414374-72844/root/chroot_tmpdir/scmroot/git'... $ git fetch origin d8d21f81634be43a1178a80cce4e45ad8a7acd68:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/git * [new ref] d8d21f81634be43a1178a80cce4e45ad8a7acd68 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d8d21f8 Sync from CentOS Stream git-2.47.1-1(opohorel@redhat.com)