【问题标题】:Can't install git flow无法安装 git 流
【发布时间】:2012-10-19 02:34:07
【问题描述】:

尝试安装 git flow

运行:

冲泡安装 git 流

得到:

更新 /Library/Caches/Homebrew/git-flow--git 错误:无法锁定配置文件 .git/config:权限被拒绝 错误:执行失败:git config remote.origin.url https://github.com/nvie/gitflow.git

同时运行:

wget --no-check-certificate -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh |须藤

得到:

子模块路径“shFlags”:签出“2fb06af13de884e9680f14a00c82e52a67c867f1” 安装:/usr/local/bin/git-flow:没有这样的文件或目录 安装:/usr/local/bin/git-flow-init:没有这样的文件或目录 安装:/usr/local/bin/git-flow-feature:没有这样的文件或目录 安装:/usr/local/bin/git-flow-hotfix:没有这样的文件或目录 安装:/usr/local/bin/git-flow-release:没有这样的文件或目录 安装:/usr/local/bin/git-flow-support:没有这样的文件或目录 安装:/usr/local/bin/git-flow-version:没有这样的文件或目录 安装:/usr/local/bin/gitflow-common:没有这样的文件或目录 安装:/usr/local/bin/gitflow-shFlags:没有这样的文件或目录

【问题讨论】:

  • 您还有问题吗? (之前在 GitHub 上有过 DDOS)

标签: git git-flow


【解决方案1】:

我会说您的 SSH 密钥存在一些问题。 我认为可以安全地假设您使用 Macintosh,因为 brew 命令。

这就是我要解决的问题。

$ ssh-keygen -t dsa
Generating public/private dsa key pair.

如果您希望将其设为默认值,请将以下内容留空。 如果您不想要密码,请将密码也留空

Enter file in which to save the key (/Users/user/.ssh/id_dsa): [id_dsa or empty] 
Enter passphrase (empty for no password):

Enter same passphrase again:
Your identification has been saved in id_dsa.
Your public key has been saved in id_dsa.pub.
The key fingerprint is:
16:8e:e8:f2:1d:c9:b9:cf:43:9a:b3:3c:c1:1f:95:93 user@localhost

这里还有一个link 给 GitHub,关于将你的 ssh 密钥添加到 github。

【讨论】:

    猜你喜欢
    • 2013-08-01
    • 2018-10-29
    • 1970-01-01
    • 2019-04-04
    • 2011-11-15
    • 2021-02-03
    • 1970-01-01
    相关资源
    最近更新 更多