I have created a git repository on my home directory (/home/user/.git) to "backup" and save alle changes from my dotfiles.
To solve this I have implmeneted a gitignore where I explicit ignore all files excepting the wanted dotfiles.
But know I can access the git repository from everywhere (home/user/folder1, home/userfolder2) - Can I limit the recursivity from a git repository, so only the directory /home/user is under vcs?!
Thanks in advance!