Quando si esegue branch -a
:Eliminazione di una filiale remota
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/hello
remotes/origin/master
E poi tolgo il ramo:
$ git branch -r -D origin/hello
Deleted remote branch origin/hello (was c0cbfd0).
Ora vedo:
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
Il ramo "ciao" ha stato rimosso. Ma quando prelevo:
$ git fetch
From localhost:project
* [new hello] hello -> origin/hello
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/hello
remotes/origin/master
Sono così confuso.
Penso che sia stato rimosso, ma è ancora lì.