@pgentili, can you please use the interface names etc-gitconfig and gitconfig to be consistent with other snaps?
+1 from me for auto-connect of system-files named etc-gitconfig for read access to /etc/gitconfig and for personal-files named gitconfig for read access to ~/.gitconfig and ~/.config/git/config for logseq as this is a standard feature of this snap.
auto-connect to ssh-keys looks risky, have you explored the option of using OAuth instead of using ssh private key for git push
Updated the interface names as requested, see here.
For SSH keys, using OAuth could be a possibility of course but it really depends on the platform and it feels a bit more like a workaround than a real solution. The official guide does not mention it and it’ll be difficult for a community based snap to sponsor it.
+2 votes for auto-connecting etc-gitconfig and gitconfig. Please submit a revision that includes these interface references and we can grant the appropriate auto-connections.
My apologies, before we grant these we must do publisher vetting as system-files and personal-files are both super-privileged interfaces. @advocacy / @igor can you please perform the required vetting?