Varun Sukheja
Varun Sukheja

Reputation: 6548

Gitkraken: Failed initializing Git Flow

I am using Gitkraken to manage my git activities but while initializing Git Flow using inbuilt option provided by Gitkraken it fails.

Here is the screenshot that shows the enter image description hereerror message

Upvotes: 9

Views: 5587

Answers (5)

Alex Leo
Alex Leo

Reputation: 2851

I have encountered the same issue and these are the steps I have followed in order to solve it.

  1. Close GitKraken
  2. Run GitBash. It should be already installed. In windows 10 use the magnifier search - and you should be able to find it.
  3. From GitBash select the repository you need to set GitFlow. Hint you can use pwd command to see the directory level you are in.Eg mine was on C:\source\myrep -my path is- cd /c/source/myrep
  4. Run the command line git flow init
  5. During initialization - you will need to specify the master branch, development branch and required flow features. I have left everything as a default. Press enter at each request.
  6. Restart GitKraken and GitFlow was working.

Upvotes: 0

Quantum_Joe
Quantum_Joe

Reputation: 191

If everything else fails, you can always do this and it should fix the problem:

  1. push all your changes/branches to remote in order to avoid loosing them
  2. delete the local repository folder
  3. re-clone the repository

Upvotes: 0

Edoardo Lopez
Edoardo Lopez

Reputation: 83

I was have the same issue, and I was solve it run the next command in the root path of project.

git-flow init -d

if command don't appear in your current bash you can follow the next web pages

git flow

git flow bash completation

Upvotes: 3

Killdery Coelho
Killdery Coelho

Reputation: 61

Example

I'm had the same problem, open git bash terminal and run command: "git flow init" after that open Git kracken and git flow should process normally.

Upvotes: 6

Ferdinand Ade
Ferdinand Ade

Reputation: 236

Support told me this:

For now, try deleting your local develop branch and then try initializing GitFlow to work around the issue.

Upvotes: 21

Related Questions