Pergunta

I've noticed that gitblit doesn't recognize unpacked git repositories per default.

Can I configure gitblit in such a way, that unpacked git repositories are recognized?

Foi útil?

Solução

Pushing to a repository with a work tree can have dangerous and unintended results. It is considered a best practice to only push to a bare repository. If you search StackOverflow or Google you will find many explanations on why. One good explanation is available here, but there are others. Bare repositories are meant to be used as the centralized distribution point for development. Gitblit will allow you to view repositories with attached worktrees but it will not allow you to push into them.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top