I am working with Grav CMS with this folder structure (simplified):
/user/
  /pages/
  /plugins/
    /admin/
    /devtools/
    /google-photos/
    .gitkeep
and this .gitignore file:
/user/plugins
!.gitkeep
!/user/plugins/google-photos/
I want to ignore all files and folders (with subfolders) in /user/plugins except all .gitkeep files. This works so far. But now I would like to include a single plugin in git (google-photos) with all its content. I tried this, but it didn't work: !/user/plugins/google-photos/
How can I do this?
I already visited these, but they couldn't help:
 
    