GITFLOW Linux 安装问题
我将操作系统从 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 安装。我不明白我错过了什么。
我很感激任何帮助!谢谢! :)
I changed my OS from Windows to Linux. In Windows, I didn't have any issue installing gitflow. I'm a newbie at Linux and stuck at installing gitflow.
I used
wget --no-check-certificate -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo sh
and also tried
wget --no-check-certificate -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo bash
but got this error:
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
I followed github's git installation and also nvie's gitflow installation. I can't figure out what I missed.
I appreciate any help! Thanks! :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我分叉了 git-flow 并添加了错误修复和功能。除此之外,我更改了上述说明的 URL 结构,因为我注意到 github 更改了它的 URL。
I forked git-flow and added bug fixes and functionality. Besides that I changed the URL structure for the above instructions as I noticed github had changed it's URL.
重要的是:
尝试做:
并修复出现的任何错误。
The important line is:
Try doing:
and fix whatever errors arise.