在Mac上,我可以在哪里找到git-http-backend?
问题描述:
要安装Phabricator,我需要git-http-backend
(一个CGI脚本)。虽然这不与Mac或HomeBrew的git
。我在哪里可以找到它?在Mac上,我可以在哪里找到git-http-backend?
我大概可以创建一个名为git-http-backend
的shell脚本,它调用git http-backend
(即,使用命令http-backend
调用git
)。但我该如何处理参数?
感谢您的指点!
答
我假设得太快,它不在那里。对我感到羞耻。
sudo find . -name git-http-backend
揭示了以下内容:
Mac的混帐:
/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-http-backend
/Library/Developer/CommandLineTools/usr/libexec/git-core/git-http-backend
自制的混帐:
/usr/local/Cellar/git/2.0.1/libexec/git-core/git-http-backend