I would like to generate a patch (using git diff) of secrets files or folders in the .gitignore file that I won't versioning so that I can easily configure an entire project on another friend's computer just cloning the project and applying these patch (using git apply).
If this is possible I can encrypt it using gpg and email it. These secret files might be certificates, passwords, directory trees, or any other file that would be sent in a normal commit if it wouldn't be in the .gitignore file.
I tried generating this patch file using git diff in many ways, but by default, it didn't work. I don't know if it's possible, but it sure would be useful.