all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: Marcin Borkowski <mbork@mbork.pl>
Cc: Emacs Developers <emacs-devel@gnu.org>
Subject: Re: Branches in Emacs Git repo
Date: Sat, 19 Mar 2016 21:37:38 +0000	[thread overview]
Message-ID: <87pouq409p.fsf@russet.org.uk> (raw)
In-Reply-To: <87oaabg0nc.fsf@mbork.pl> (Marcin Borkowski's message of "Fri, 18 Mar 2016 18:24:07 +0100")

Marcin Borkowski <mbork@mbork.pl> writes:
> since I'm planning to start contributing to Emacs, and I don't want to
> break something, I'd like to learn which branches are exactly for what
> and what should I do (assuming I will get write access at some point) -
> for instance, should I create small branches for my patches?  Should
> they be branched from master?


I don't think that there are many rules about branches that are not main
branches, as it were. I've certainly made branches for smallish
features. I generally follow the "gitflow" convention with
"feature/my-new-feature" or "fix/my-fix", but this is just me. I think
very few other people do this. If I remember correctly, it's not
possible to force push, so you can't squash feature branches (remotely).

In general, branch from where ever you expect to merge to. Currently,
this means Emacs-25 iff it's a bug fix, master if it's a new feature.

Phil



  parent reply	other threads:[~2016-03-19 21:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18 17:24 Branches in Emacs Git repo Marcin Borkowski
2016-03-18 18:00 ` Jorge Alberto Garcia
2016-03-19  2:22   ` John Wiegley
2016-03-18 18:40 ` Eli Zaretskii
2016-03-18 20:01 ` Michael Heerdegen
2016-03-19  0:04 ` Xue Fuqiao
2016-03-19 21:37 ` Phillip Lord [this message]
2016-03-19 22:47   ` Stefan Monnier
2016-03-20 20:21     ` Phillip Lord

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=87pouq409p.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    --cc=mbork@mbork.pl \
    /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.