$ git clone -n https://github.com/xcp-ng-rpms/guest-templates-json.git /var/lib/mock/v8.2-base-2498-1896/root/chroot_tmpdir/scmroot/guest-templates-json Cloning into '/var/lib/mock/v8.2-base-2498-1896/root/chroot_tmpdir/scmroot/guest-templates-json'... $ git reset --hard 39873d88ecbfc5446510fcf6dfc86b6fd510dc20 Downloading SOURCES/guest-templates-json-1.8.19.tar.gz (13 KB) HEAD is now at 39873d8 Remove patch not needed anymore