Nuñito Calzada
Nuñito Calzada

Reputation: 2056

Git: fatal: A branch named 'master' already exists

I want to To checkout branch which not exists locally but is in the remote repo

>git checkout -t -b master origin/master
fatal: A branch named 'master' already exists.

and when I browse the git project using a browser I only see a develop branch

Upvotes: 5

Views: 31802

Answers (1)

dvxam
dvxam

Reputation: 604

You answer should be : git checkout master.

Upvotes: 13

Related Questions