Kiedy wykonać branch -a
:Usunięcie pilota oddziału
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/hello
remotes/origin/master
I wtedy usunąć oddziału:
$ git branch -r -D origin/hello
Deleted remote branch origin/hello (was c0cbfd0).
Teraz widzę:
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
Oddział "hello" ma zostały usunięte. Ale kiedy sprowadzić:
$ 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
Jestem tak zdezorientowany.
Myślę, że został usunięty, ale wciąż tam jest.