$ git clone -n https://gitee.com/src-opencloudos-rpms/petsc.git /var/lib/mock/dist-oc9-epol-build-55038-14778/root/chroot_tmpdir/scmroot/petsc Cloning into '/var/lib/mock/dist-oc9-epol-build-55038-14778/root/chroot_tmpdir/scmroot/petsc'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/petsc * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1210827 import petsc-3.18.5-2.tl4