emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Org branches: master, main, and maint?


From: Max Nikulin
Subject: Re: Org branches: master, main, and maint?
Date: Sun, 26 Sep 2021 18:36:42 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

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).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]