Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

My repo is not enabled? Requests "git flow init"?

Jonathan Howard January 28, 2014

When I attempt to add a new feature branch to my repo through git-flow I get this error:

fatal: Not a gitflow-enabled repo yet. Please run "git flow init" first.

I have a master and develop branch. I have looked into the .git/config file to see if there was an inconsistency, but it looked fine:

[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
	ignorecase = true
	precomposeunicode = false
[remote "origin"]
	url = https://github.com/GalaTech/stringr.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[gitflow "branch"]
	master = master
	develop = develop
[gitflow "prefix"]
	feature = feature/
	release = release/
	hotfix = hotfix/
	versiontag = 
[branch "develop"]
        remote = origin
        merge = refs/heads/develop

What could possibly be the issue here?

2 answers

0 votes
sjonkeesse November 10, 2014

git init -d

0 votes
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 28, 2014

Try running "git flow feature start featurename" from the terminal, and see if you get the same error.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events