Removing local copies of deleted remote branches

suggest change

If 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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents