문제

I was trying to set up gitweb on my Mint machine. The man page tells me to run git-instaweb in a git repo to get started. That command was not found, but apt-file told me that it was in /usr/lib/git-core/. So I tried running it with the whole path, but it failed because another command, git-sh-setup, was not found:

./git-instaweb: 22: .: git-sh-setup: not found

This program is also in /usr/lib/git-core/.

It would seem that in order to work, this directory must be added to my path. Is that correct? If not, how is it supposed to be set up? The gitweb manpage says nothing about the path.

도움이 되었습니까?

해결책

Good sir, perhaps try

git instaweb

Notice carefully lack of hyphen -

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