$ git clone -n https://src.fedoraproject.org/rpms/gdm.git /var/lib/mock/f33-build-625651-67598/root/chroot_tmpdir/scmroot/gdm Cloning into '/var/lib/mock/f33-build-625651-67598/root/chroot_tmpdir/scmroot/gdm'... $ git reset --hard 5654a8ec78fc162f6031f40c353bbdaa50792e58 HEAD is now at 5654a8e Use upstream patch