Can't see remote branch, problems with .git/config?

落花浮王杯 提交于 2019-12-01 09:19:54

The fetch refspec you have in place is only fetching master, testing, uat, and release-1.9. As a result, any other branches pushed up to the remote repo, are ignored and are never brought to your local repo. The refspec on your laptop:

+refs/heads/*:refs/remotes/origin/*

says to fetch all branches from the remote repository, so any new branches would be visible to you.

The short form is that if you want to see the new branches, then you need to use a refspec like the one above.

BTW, the way you're creating branches looks fine. :-)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!