这是迄今为止的成绩单:
$ sbt new lagom/lagom-scala.g8
[info] Loading global plugins from /Users/abrahma/.sbt/1.0/plugins
[info] Set current project to lagomlife (in build file:/Users/abrahma/Bitbucket/Practice-Scala/LagomLife/)
[info] Set current project to lagomlife (in build file:/Users/abrahma/Bitbucket/Practice-Scala/LagomLife/)
ssh://git@github.com/lagom/lagom-scala.g8.git: Auth fail
Run Code Online (Sandbox Code Playgroud)
我已经通过 GitHub 验证了身份验证:
$ ssh -T git@github.com
Hi agam! You've successfully authenticated, but GitHub does not provide shell access.
Run Code Online (Sandbox Code Playgroud)
还验证了我可以访问相关存储库(即我可以在单独的位置执行以下操作):
git clone ssh://git@github.com/lagom/lagom-scala.g8.git
Run Code Online (Sandbox Code Playgroud)
编辑: fwiw 我能够解决这里的任何根本原因:
git clone ssh://git@github.com/lagom/lagom-scala.g8.git
g8 file:///Users/abrahma/tmp/lagom-scala.g8
Run Code Online (Sandbox Code Playgroud)
我也遇到了这个问题,并通过从~/.gitconfig中删除以下内容来解决它:
[url "git@github.com:"]
insteadOf = https://github.com/
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
392 次 |
| 最近记录: |