When I run the command git branch -a I see a list of branches associated with a remote that no longer exists. ex:
remotes/does-not-exist/branch1 remotes/does-not-exist/branch2 remotes/origin/dev remotes/origin/feature3 I want to remove the branches associated with does-not-exist from the list above. However if I run the command git remote prune does-not-exist I get the following error
conq: repository does not exist. fatal: Could not read from remote repository. How can I remove the branches associated with does-not-exist? Should I just delete the folder under .git/refs/remotes/?