Removing local copies of deleted remote branches
suggest changeIf a remote branch has been deleted, your local repository has to be told to prune the reference to it.
To prune deleted branches from a specific remote:
git fetch [remote-name] --prune
To prune deleted branches from all remotes:
git fetch --all --prune
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents