我已经将gitflow安装在我的github项目所在的目录中。
但是,当我试图从命令"git flow init“开始时,会收到以下错误消息:
git flow init
C:/cygwin64/usr/local/bin/gitflow-shFlags: line 1: shFlags/src/shflags: No such file or directory
C:\cygwin64\usr\local\bin\git-flow: line 85: DEFINE_boolean: command not found
C:\cygwin64\usr\local\bin\git-flow: line 88: FLAGS: command not found
fatal: 'flow' appears to be a git command, but we were not
able to execute it. Maybe git-flow is broken?知道我该怎么做才能解决这个问题吗?
发布于 2014-12-31 16:59:28
第190期报告了类似的问题,并建议使用src/shflags自己恢复shFlags/src/shflags文件。
为了使git流调用到gitflow-shFlags成功,需要还原该文件:
. "$GITFLOW_DIR/gitflow-shFlags"用gitflow-shFlags
shFlags/src/shflags发布于 2017-01-24 06:14:38
我遇到了这样的问题!我已经解决了更改git-flow文件第83行的问题:
#use the shFlags project to parse the command line arguments . "$GITFLOW_DIR/gitflow-shFlags"
到gitflow-shFlags的值
# use the shFlags project to parse the command line arguments . "$GITFLOW_DIR/shFlags/src/shflags"
https://stackoverflow.com/questions/27722909
复制相似问题