'How to remove git remote branches locally which has been deleted online?

After a successful merge request , the branch get's deleted on the gitlab but it still exist on my local machine so how can I remove that branch locally ?

enter image description here

How can I remove config-tailwind branch locally only ?



Solution 1:[1]

You can fetch with --prune so that deleted remote branches disappear on the local repository

git fetch --prune -a

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 DuĊĦan Stoki?