Git switch branch in Eclipse -


i have 2 branches (develop / master)

enter image description here

i want switch branch in eclipse master not appear select

enter image description here

enter image description here

it because don't have local master. if scenario, these steps might you.

to fetch master, need to:

git fetch origin master 

this fetch master you. can see branches available checkout with:

git branch -v -a 

with remote branches in hand, need check out branch interested in, giving local working copy:

git checkout -b master origin/master 

Comments