tthis
/*
!/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud/nextcloud.cfg
produces empty snapshot.
this
/*
!/armbian/
/armbian/*
!/armbian/userpatches
!/armbian/.git/
/armbian/.git/*
!/armbian/.git/config
work as I need: I got in snapshot file armbian/.git/config
and armbian/userpatches
folder with content.
Then, the border is more than one folder deep for exclusion:
if path is “a/b/c”, then it’s possible to exclude “a” but get back “b/c”. but impossible to exclude complete “a” but include “a/b/c”.