본문 바로가기

error records

[gitflow Error] 'fatal: branch 'develop' does not exist'

반응형

 

 

 

gitflow설치 후, webstorm 오른 아래쪽에 no-git 이었나 요걸 클릭해서 

init repo(gitflow 시작) 클릭하니 아래의 에러가 나왔다. 

 

Error 'fatal: branch 'develop' does not exist

 

해결법

$ git checkout develop

develop으로 체크아웃 한 후

 

init repo를 다시 클릭하면 된다. 

 

만약 에러가 

Error 'fatal: branch 'master' does not exist

Master로 나오면 master로 checkout 해주고 init repo 를 하면 된다. 

 

 

 

 

Reference : https://stackoverflow.com/questions/46915350/got-fatal-branch-master-does-not-exist-in-git

반응형