문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top