문제

gitconfig(1):

If not set explicitly with --file, there are four files where git config will search for configuration options:

...

$(prefix)/etc/gitconfig

    System-wide configuration file.

What is $(prefix) on $(prefix)/etc/gitconfig?

도움이 되었습니까?

해결책

The prefix environment variable git was compiled with. Usually, it's /usr/local, so the path is /usr/local/etc/gitconfig.

More information can be found in the INSTALL file in the git repository.

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