This command will not delete those branches, just list them. You can delete them using the command git remote prune origin . Use interactive ... ... <看更多>
Try this. $1 should be the parent dir containing all of your repositories (or use "." for the current dir): #!/bin/bash function git_branches() { if [[ -z ... ... <看更多>