DEV Community

StuartCreed
StuartCreed

Posted on

6 1

Update your origin branches on SourceTree

Run the following in the command line:

git fetch --prune

Or:
https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-Refresh-branches/qaq-p/481952

"Another option is to use the explicit 'Fetch' button on the toolbar and check the 'Prune' option. This will remove all remote branches which you have a local record of, but are no longer actually present on the remote.''

If you right click on Origin in SourceTree there is a fetch option

Top comments (1)

Collapse
 
dmitrykurmanov profile image
Dmitry Kurmanov • Edited

Cool thanks! It also could be achieved via UI checkbox:

Image description

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay