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

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>