$ git clone -n https://src.fedoraproject.org/rpms/libcupsfilters.git /var/lib/mock/f38-build-687859-82140/root/chroot_tmpdir/scmroot/libcupsfilters Cloning into '/var/lib/mock/f38-build-687859-82140/root/chroot_tmpdir/scmroot/libcupsfilters'... $ git reset --hard 343a81007b4c7f0556c9196fa9ff31ffba7b4be7 HEAD is now at 343a810 Commit the patch