在 Android Studio 中刷新远程 Git 分支
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/47362422/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Refresh remote Git branches in Android studio
提问by Firzan Shaikh
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?
远程仓库中有一个新的分支,但是在android studio的git分支中没有出现。如何刷新该列表以显示新分支?
I have tried git branch -r
but new branch is not showing in the list.
我已经尝试过,git branch -r
但列表中没有显示新分支。
回答by Pranav Karnik
回答by ????
You can try using VCS (from menu)
then click on Git
and then on Fetch
.
Alternatively, you can use git fetch --all
您可以尝试使用VCS (from menu)
,然后点击Git
,然后Fetch
。或者,您可以使用git fetch --all