Rename remote problem

Renamed remote using the command “git remote rename A B”
two pieces were renamed well
and now I get “Got an error, terminating the pool: GitError: None: remote A does not have refs/heads/A”
help fix this

just delete and recreate (add) the B remote from scratch, it’s easier. I always do that, to avoid this sort of problems.

If you then still get errors reporting broken references to remote A, deleted it and/or recreate it as it was, and the re-deleted it again.

Worst case scenario, you can always peek inside the .git/ folder and try to fix this manually — NOT ADVISED, unless you really know what you’re doing.