I work on a project with others developers, with a Github repo. We made a branch, then after the work with it has finished, we deleted the branch on Github. But on my local repo, I have again the branch (I see it on calling git branch --list -a
). It was a remote branch, but it doesn't exist anymore on the remote repo.
I tried with git branch -d remotes/origin/<branch>
(also with -D but that is not the problem). Git answered "error: branche 'remotes/origin/morgan-save-A' non trouvee" .
How could I delete it, if someone has an idea ? Thanks for reading :)