$ git clone -n https://src.fedoraproject.org/rpms/xpra.git /var/lib/mock/f37-build-side-32-misc-devel-288370-14655/root/chroot_tmpdir/scmroot/xpra Cloning into '/var/lib/mock/f37-build-side-32-misc-devel-288370-14655/root/chroot_tmpdir/scmroot/xpra'... $ git reset --hard b49472a367ea58466b4c93f9473e15bc9b992ebf HEAD is now at b49472a sync and fix the way of the patch is applied