How to clear the git branch list

There is a case, we create a remote branch named “test”, and we delete it after we recognize it un-useful. But we take a look at our branch list ( through “git branch -a” ), the branch name has already shown in the list, which has been deleted before. That will be mislead us, we … Read more