On 26/09/2021 17:31, Bastien wrote:
Timothy writes:
I’ve just had a look at the branches, and I see that we currently
have
master
main
maint
You probably listed your local branch with "git branch -a" or by
checking your .git/config file.
If you clone a fresh repo like this:
~$ git clone https://git.savannah.gnu.org/git/emacs/org-mode.git
and fetch all the branches (git fetch --all) you should only see
the three branches mentioned above.
git fetch --prune
might help to keep personal local branches but to remove non-existing
remote ones if you changed URL of origin repository. I renamed old
"origin" and added new one with savannah URL, so each repository has its
own branch (That is why I may be a bit wrong concerning exact behavior
of --prune in this case).