Why does git branch -a

Henning Hraban Ramm hraban at fiee.net
Sat Oct 23 10:13:29 UTC 2021


Hi Gerben!

> Am 23.10.2021 um 11:58 schrieb Gerben Wierda via macports-users <macports-users at lists.macports.org>:
> 
> # remotes:
> #   upstream: github/macports/macports-ports is the original macports.org repo in github
> #   origin: github/gctwnl/macports-ports is my FORK of github/macports/macports-ports on github
> # local:
> #   ~/MacPortsDev/macports-ports is the local CLONE of github/gctwnl/macports-ports
> 
> albus:macports-ports sysbh$ git branch -a
>   dovecot-2.3.16
> * master
>   upstream
>   remotes/origin/HEAD -> origin/master
>   remotes/origin/dovecot-2.3.16
>   remotes/origin/master
>   remotes/origin/multiple-unbounds
>   remotes/upstream/boost_1.72.0_update
>   remotes/upstream/dar
>   remotes/upstream/kencu-py-sphinxcontrib-svg2pdfconverter
>   remotes/upstream/master
>   remotes/upstream/py38-reproject
>   remotes/upstream/wireshark3-3-0-5
> 
> But I do not fully understand the remotes/origin ones. Specifically: remotes/origin/multiple-unbounds. I did some work on unbound as well (enabling to run multiple parallel unbound resolvers from launchd) and this has been pulled into the main repository. When that had happened, I deleted my branch. Apparently I forgot to do something because it still shows up in remotes/origin. Why, though? What did I forget to do?

Origin is your fork of upstream, and when you deleted your local branch, you apparently didn’t delete the same branch on origin.
Each repository is independent.

HTH
Hraban

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20211023/5ede3436/attachment.sig>


More information about the macports-users mailing list