When I execute branch -a:
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/hello
remotes/origin/master
And then I delete the branch:
$ git branch -r -D origin/hello
Deleted remote branch origin/hello (was c0cbfd0).
Now I see:
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
The hi hole has been deleted. But when I get:
$ 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
I'm so confused.
I think it was deleted, but it is still there.
source
share