$ git clone -n https://src.fedoraproject.org/rpms/restic.git /var/lib/mock/f37-build-side-32-misc-devel-213731-13632/root/chroot_tmpdir/scmroot/restic Cloning into '/var/lib/mock/f37-build-side-32-misc-devel-213731-13632/root/chroot_tmpdir/scmroot/restic'... $ git reset --hard 65c4e9d5b64a03a015cfa9d7f7c9621e7feee298 HEAD is now at 65c4e9d Remove old patches