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

非 Y 不嫁゛ 提交于 2019-12-19 13:48:45

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/19713622/what-is-prefix-on-prefix-etc-gitconfig

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!