DEV Community


Posted on


Update your origin branches on SourceTree

Run the following in the command line:

git fetch --prune


"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)

dmitrykurmanov profile image
Dmitry Kurmanov • Edited

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

Image description

๐ŸŒš Friends don't let friends browse without dark mode.

Just kidding, it's a personal preference. But you can change your theme, font, etc. in your settings.

The more you know. ๐ŸŒˆ