gpt4 book ai didi

git - composer git clone --mirror 失败

转载 作者:太空狗 更新时间:2023-10-29 13:42:34 24 4
gpt4 key购买 nike

我在 stash 上有私有(private)仓库,可以使用 ssh key 访问。我在 .ssh/config 文件 上配置了主机名、端口、ssh 文件 (_rsa)。后来我在终端上执行 git clone ssh://git@stash.. 命令。有用。当我在终端上执行 composer update vendor/repo:dev-master 命令时,该命令失败并给出以下错误:

Repository not found
The requested repository does not exist, or you do not have permission to access it.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

最佳答案

根据原发帖人:

I solved problem by changing url in composer.json. Solution is git+ssh://git@stash.

关于git - composer git clone --mirror 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46661241/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com