From: Bill Wohler <wohler@newt.com>
To: emacs-devel@gnu.org
Subject: Re: Emacs branches in git
Date: Sun, 16 Feb 2014 12:11:31 -0800 [thread overview]
Message-ID: <87eh32rf64.fsf@olgas.newt.com> (raw)
In-Reply-To: 87eh33irbn.fsf@yandex.ru
Dmitry Gutov <dgutov@yandex.ru> writes:
> Bill Wohler <wohler@newt.com> writes:
>
>> master: For tagged releases.
>>
>> dev: How trunk is used now.
>
> Why is that?
>
> 1. People can put tags on revisions in release branches. Why dedicate a
> branch just for release tags?
Please see http://nvie.com/posts/a-successful-git-branching-model/ for
the rationale. Also, in git, release branches are deleted when they are
no longer needed.
> 2. I suspect that at least some releases won't be direct descendants of
> one another. I.e. there won't be a way to have all release revisions on
> one branch.
Yes, that is one reason why you want to tag on master.
As a related aside, I find that after tagging a release on master, it is
helpful to merge master into the release branch and then in into dev.
That way, "git describe" can refer to a reasonable tag no matter which
branch you are on.
--
Bill Wohler <wohler@newt.com> aka <Bill.Wohler@nasa.gov>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD
next prev parent reply other threads:[~2014-02-16 20:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-16 4:50 Emacs branches in git Bill Wohler
2014-02-16 5:01 ` Dmitry Gutov
2014-02-16 20:11 ` Bill Wohler [this message]
2014-02-16 20:17 ` David Kastrup
2014-02-16 22:30 ` Bill Wohler
2014-02-16 23:53 ` Dmitry Gutov
2014-02-17 0:36 ` Bill Wohler
2014-02-17 2:22 ` Dmitry Gutov
2014-02-17 9:11 ` Andreas Schwab
2014-02-17 12:51 ` Thien-Thi Nguyen
2014-02-17 22:51 ` Xue Fuqiao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eh32rf64.fsf@olgas.newt.com \
--to=wohler@newt.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.