$ git clone -n https://src.fedoraproject.org/rpms/kde-inotify-survey.git /var/lib/mock/f38-build-723457-99099/root/chroot_tmpdir/scmroot/kde-inotify-survey Cloning into '/var/lib/mock/f38-build-723457-99099/root/chroot_tmpdir/scmroot/kde-inotify-survey'... $ git reset --hard 4e0914b190361eb4c0d9ab3020a66b132763eaf1 HEAD is now at 4e0914b Forgot to add the custom config file.