Refresh remote Git branches in Android studio

六眼飞鱼酱① 提交于 2019-12-03 14:53:28

问题


There is a new branch in the remote repository, but it does not appear in the git branches in android studio. How can I refresh that list to show the new branch?

I have tried git branch -r but new branch is not showing in the list.


回答1:


In your Android Studio menu bar, click on VCS > Git > Fetch

Check the image:




回答2:


You can try using VCS (from menu) then click on Git and then on Fetch. Alternatively, you can use git fetch --all




回答3:


Try using git fetch or use git fetch --all



来源:https://stackoverflow.com/questions/47362422/refresh-remote-git-branches-in-android-studio

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