Safe directories in Git
I use Tig to browse local Git repositories, even bare mirrors. Recent versions of Git insist that your logged-in user owns all repositories you visit, making Tig fail with a surprising error message: tig: Not a git repository.
You may allow repos owned by other users using something like this: git config --global --add safe.directory /usr/src
They all end up in the safe section of ~/.gitconfig:
[safe] directory = /usr/ports directory = /usr/src directory = /git/git.ximalas.info/freebsd/doc directory = /git/git.ximalas.info/freebsd/ports directory = /git/git.ximalas.info/freebsd/src