3

OS を Windows から Linux に変更しました。Windows では、gitflow のインストールに問題はありませんでした。私は Linux の初心者で、gitflow のインストールに行き詰まっています。

使った

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

そしてまた試した

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

しかし、このエラーが発生しました:

woppi@woppi-ThinkCentre-M80:~$ wget --no-check-certificate -q -O -       
https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo sh
[sudo] password for woppi: 
### gitflow no-make installer ###
Installing git-flow to /usr/local/bin
Cloning repo from GitHub to gitflow
Cloning into gitflow...
error: Failed connect to github.com:80; Connection refused while accessing 
http://github.com/nvie/gitflow.git/info/refs

fatal: HTTP request failed
Updating submodules
cd: 78: can't cd to gitflow
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
install: cannot stat `gitflow/git-flow': No such file or directory
install: cannot stat `gitflow/git-flow-init': No such file or directory
install: cannot stat `gitflow/git-flow-feature': No such file or directory
install: cannot stat `gitflow/git-flow-hotfix': No such file or directory
install: cannot stat `gitflow/git-flow-release': No such file or directory
install: cannot stat `gitflow/git-flow-support': No such file or directory
install: cannot stat `gitflow/git-flow-version': No such file or directory
install: cannot stat `gitflow/gitflow-common': No such file or directory
install: cannot stat `gitflow/gitflow-shFlags': No such file or directory

私はgithubのgitインストールとnvieのgitflowインストールに従いました。何を見逃したのかわかりません。

どんな助けにも感謝します!ありがとう!:)

4

2 に答える 2

1

git-flow をフォークし、バグ修正と機能を追加しました。それに加えて、github が URL を変更したことに気付いたので、上記の手順の URL 構造を変更しました。

wget --no-check-certificate -q -O - https://raw.github.com/petervanderdoes/gitflow/develop/contrib/gitflow-installer.sh | sudo bash
于 2012-06-11T20:01:33.360 に答える
0

重要な行は次のとおりです。

error: Failed connect to github.com:80; Connection refused while accessing 
http://github.com/nvie/gitflow.git/info/refs

やってみてください:

wget http://github.com/nvie/gitflow.git/info/refs

エラーが発生した場合は修正します。

于 2011-10-21T07:57:59.140 に答える