2011-10-21 18 views
3

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

私は

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 

を試みたが、このエラーを得た:

[email protected]:~$ 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のインストールを行いました。私が逃したものを理解することはできません。

ご協力いただきありがとうございます。ありがとう! :)

答えて

0

重要な行は次のようになります。

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

を、エラーが発生するものは何でも解決:

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

はやってみてください。

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