安装了Phabricator服务器后,我正试图添加一个git私有回购,用于Diffusion和Differential中进行代码审查。我在Phabricator web控制台上添加了一个git repo,并能够在服务器上手动克隆repo。有了它,我可以通过扩散浏览。
但是作为PhabricatorRepositoryPullLocalDaemon的一部分的后续git获取在中失败
stderr:fatal: could not read Username for 'https://github.com': No such device or address
error: Could not fetch origin
我尝试了以下内容:
我将用于git clone
的凭据添加到了git config --global list
,并且可以在用户主目录(在本例中为root)中的.gitconfig
文件中看到它
我还在根目录中添加了一个包含的.netrc
文件
machine github.com
login <username>
password <password
请让我知道我错过了什么。非常感谢您的帮助。
修复它。
在daemon.log 中看到了这一点
COMMAND
HOME='/phabricator/support/empty/' git clone --origin origin 'https://github.com/
添加到上面的HOME目录。gitconfig,用户名密码