Refresh remote Git branches in Android studio

2019-03-23 10:33发布

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.

3条回答
The star\"
2楼-- · 2019-03-23 10:58

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

查看更多
贼婆χ
3楼-- · 2019-03-23 11:07

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

Check the image:

Git Fetch in Android Studio

查看更多
相关推荐>>
4楼-- · 2019-03-23 11:07

Try using git fetch or use git fetch --all

查看更多
登录 后发表回答