($prefix) in git config documentation

abc Source

I quote:

git config

"--system For writing options: write to system-wide $(prefix)/etc/gitconfig rather than the repository .git/config."

Where and how is this $(prefix) variable set ?

On my mac this is: /usr/local/git

Update:

Based on 0x5453's answer I was able to find the ${PREFIX} from the Makefile here:

Makefile

But is there a way to query it from the command line after installing git ?

gitgit-config

Answers

comments powered by Disqus