资讯

Removing the Git branch locally, and removing the remote tracking branch will rid your local development environment of the branch in question, but it will not remove it from any remote repositories ...
Here is a quick Git command to delete all branches except master or main from your local repository. It's a nice way to clean up your workspace after a milestone or a sprint.