Can';t安装git流
正在尝试安装git流 运行: brew安装git流 得到: 更新/库/缓存/自制/git流--git 错误:无法锁定配置文件。git/config:权限被拒绝 错误:执行时失败:git config remote.origin.urlhttps://github.com/nvie/gitflow.git 还运行: wget --no-check-certificate -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo sh wget--无支票证书-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功能:没有这样的文件或目录 安装:/usr/local/bin/git flow修补程序:没有这样的文件或目录 安装:/usr/local/bin/git-flow-release:没有这样的文件或目录 安装:/usr/local/bin/git流支持:没有这样的文件或目录 安装:/usr/local/bin/git flow version:没有这样的文件或目录 安装:/usr/local/bin/gitflow common:没有这样的文件或目录 安装:/usr/local/bin/gitflow shFlags:没有这样的文件或目录Can';t安装git流,git,git-flow,Git,Git Flow,正在尝试安装git流 运行: brew安装git流 得到: 更新/库/缓存/自制/git流--git 错误:无法锁定配置文件。git/config:权限被拒绝 错误:执行时失败:git config remote.origin.urlhttps://github.com/nvie/gitflow.git 还运行: wget --no-check-certificate -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitf
我想说您的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
这里还有一个关于将ssh密钥添加到GitHub的问题。您仍然有这个问题吗?(早些时候GitHub上发生了DDOS)
Submodule path 'shFlags': checked out '2fb06af13de884e9680f14a00c82e52a67c867f1'
install: /usr/local/bin/git-flow: No such file or directory
install: /usr/local/bin/git-flow-init: No such file or directory
install: /usr/local/bin/git-flow-feature: No such file or directory
install: /usr/local/bin/git-flow-hotfix: No such file or directory
install: /usr/local/bin/git-flow-release: No such file or directory
install: /usr/local/bin/git-flow-support: No such file or directory
install: /usr/local/bin/git-flow-version: No such file or directory
install: /usr/local/bin/gitflow-common: No such file or directory
install: /usr/local/bin/gitflow-shFlags: No such file or directory
$ 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