- Remove local and remote branch
# Before doing this, make sure all the changes ARE MERGED!
- Clear the outdated references
The local repo’s remote branches will be outdated if you remove the corresponding branch in Gitlab after merging a merge request. If this happens, use the following command in your local repo to clear the outdated references:
git remote prune origin