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.
In order to clean up remote tracking branches, meaning deleting references to non-existing remote branches, use the “git remote prune” command and specify the remote name. In order to find the name of your current configured remotes, run the “git remote” command with the “-v” option.
In your Android Studio menu bar, click on VCS > Git > Fetch
Check the image:
You can try using VCS (from menu)
then click on Git
and then on Fetch
. Alternatively, you can use git fetch --all
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With