$ git clone -n https://src.fedoraproject.org/rpms/pygrib.git /var/lib/mock/f33-build-540764-65104/root/chroot_tmpdir/scmroot/pygrib Cloning into '/var/lib/mock/f33-build-540764-65104/root/chroot_tmpdir/scmroot/pygrib'... $ git reset --hard 946e5f601400ab096c34406c50a9b1aea4c0f32f HEAD is now at 946e5f6 now use the correct patch file