gitintellij-idea

How do I get IntelliJ to see my remote git branches


I'm using BitBucket and I created a branch on another machine with IntelliJ and pushed it in to my repo. I can see the branch on the BitBucket site, but when I try to access the remote branch using IntelliJ on another machine I can't see the new branch when I go to VCS -> git -> Remote Branches. I tried doing a pull, but that only brought down the head changes (which currently points to master), and didn't update the remote branches list. Is there something you have to do to see the remote branches (besides Head and Master) in IntelliJ?


Solution

  • In case anyone runs in to something similar I found that on my IntelliJ at least I had to run a fetch and then I could see the remote branches. It didn't appear that a pull was sufficient even though pull is supposed to fetch.