GITFLOW Linux 安装问题

发布于 2024-12-11 04:28:24 字数 1849 浏览 10 评论 0原文

我将操作系统从 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

香草可樂 2024-12-18 04:28:24

我分叉了 git-flow 并添加了错误修复和功能。除此之外,我更改了上述说明的 URL 结构,因为我注意到 github 更改了它的 URL。

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

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.

wget --no-check-certificate -q -O - https://raw.github.com/petervanderdoes/gitflow/develop/contrib/gitflow-installer.sh | sudo bash
伏妖词 2024-12-18 04:28:24

重要的是:

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

并修复出现的任何错误。

The important line is:

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

Try doing:

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

and fix whatever errors arise.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文