git can not find remote branch

update git config file .git/config

1
2
[origin]
fetch = +refs/heads/production:refs/remotes/origin/production

replace with:

1
2
[origin]
fetch = +refs/heads/*:refs/remotes/origin/*

then, try

1
git fetch --all

or

1
git pull --all
#

Comments

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×