How can I refresh remote Git branches?

Hi,

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

Thanks,
Josh
5 comments
Of course, I found the answer right after posting this question (I swear I looked around for an answer before asking!)

I had to use the "VCS > Git > Fetch" command
24

@Josh , 5 years late, but Thank You!

4

In future "VCS > Git > Fetch" command will save your work time.

I think that this command must to be included in all Git tutorials and used more than 10 times for better remembering.

0

Note that doing a command line git fetch is not sufficient. One must do the git fetch in the ide in order to trigger the ide to update it's list. 

[no longer banging head against wall.]

Ed Greenberg

2

Not gonna lie, this is DUMB.
JetBrains, can you please do this automagically when we run "git fetch --al" or similar from the terminal? Even if it has to be in the Rider terminal, I'd be ok with that.

2

Please sign in to leave a comment.