【发布时间】:2018-06-12 09:00:53
【问题描述】:
是否可以在 pubspec.yaml 依赖项中使用 passphrase:
dependencies:
customFramework:
url: git@gitlab.com:nameandurl..
ref: lkjdfksdjf
path: package/nameofpackage
我明白了
git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
我正在使用passphrase,这是访问问题的原因。但是我想我需要添加密码 - 但是如何?
注意:passphrase 可能不应该在源代码中,但也许有办法。
【问题讨论】: