Sampath Kumar Madala
Sampath Kumar Madala

Reputation: 163

No branch matches prefix

When I run

git flow feature finish -S branchname

I get the following message

No branch matches prefix 'branchname'

However, when I run

git branch -a

branchname is listed in the list of branches. What might be the issue?

Upvotes: 1

Views: 2225

Answers (3)

MingalevME
MingalevME

Reputation: 1985

In my case it was because of missing local branch feature/FEATURE_NAME:

git checkout feature/FEATURE_NAME

Upvotes: 0

FAvIo41
FAvIo41

Reputation: 271

For me the solution was find the right name of the branch. For list all features that you have, use:

git flow feature

Upvotes: 3

hippeelee
hippeelee

Reputation: 1808

try updating your local to whats in your origin:

$ git fetch -p origin

Upvotes: 1

Related Questions