2014-12-31 5 views
3

내 github 프로젝트가있는 디렉토리에 gitflow가 설치되어 있습니다. 내가 명령 "git flow init"로 시작하려고 할 때
그러나, 나는 다음과 같은 오류 메시지가 얻을 : 나는 무엇을해야하는지의Gitflow 오류를 초기화 할 수 없습니다.

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? 

모든 아이디어는이 문제를 해결하려면?

답변

4

issue 190은 유사한 문제를보고하고 src/shflags을 사용하여 shFlags/src/shflags 파일을 직접 복원 할 것을 제안합니다. 파일이 필요로하는

는 성공 gitflow-shFlagsgit-flow call의 순서를 복원 할 :

. "$GITFLOW_DIR/gitflow-shFlags" 

gitflow-shFlags로 :

shFlags/src/shflags 
+0

의 값. 그게 효과가 있었어. 감사. –

+1

/usr/local/bin/gitflow-shFlags 파일에는 git repo (https://github.com/nvie/shFlags/blob/master/src/)의 전체 파일 대신 한 줄의 buth가 포함되지 않도록하십시오. shflags). – ThomasRS

0

나는이 같은 문제를 가지고 있었다! I는 자식 플로우 파일의 변화 선 (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"

관련 문제