From: Nicolas Sebrecht <nicolas.s.dev@gmx.fr>
To: rhlee <richard@webdezign.co.uk>
Cc: git@vger.kernel.org, Nicolas Sebrecht <nicolas.s.dev@gmx.fr>
Subject: Re: Working on merged branches whilst seeing current master
Date: Wed, 11 Nov 2009 22:57:27 +0100 [thread overview]
Message-ID: <20091111215727.GK27518@vidovic> (raw)
In-Reply-To: <1257959806206-3987667.post@n2.nabble.com>
The 11/11/09, rhlee wrote:
>
> I use branches for features. I have a branch and I merged it into my master
> branch as I thought it was finished. But it turns out I wasn't and so I need
> to work on it again.
>
> I have made some more changes (branches and merges) on master. So what I
> should do is checkout that branch, work on it committing along the way and
> then merge it again onto my master branch.
>
> However I though I am working on a feature branch I want to be also working
> from the master branch as reference.
If the feature branch is merged to the mainline, it should really mean
that the feature is ready : the feature branch life stop here. This also
means that if you see that this feature was not as ready as you thought,
you have to restart a _new_ feature branch off of the mainline.
That's why there is the "next" branch in the git releases process. This
way, we can test the feature branches without touching master for some
time.
> Yes I know I probably should not be
> working like this. My branches should be wholly independent. But I doing web
> development not kernel development so there is much less modularity and
> branches/features have a tendency to creep into one another.
This should not be the case. Modularity in the release process and the
development strategy is not tied to "what I am developing". I'm doing
some web development too and have no difficulty around this point.
> Or should I just create a new branch? But if I do this there is no link
> between the old and new branch.
Yes, feature branches have no reason to live after they are merged to
the mainline.
--
Nicolas Sebrecht
next prev parent reply other threads:[~2009-11-11 21:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-11 17:16 Working on merged branches whilst seeing current master rhlee
2009-11-11 21:57 ` Nicolas Sebrecht [this message]
2009-11-12 12:48 ` Tim Mazid
2009-11-12 16:49 ` rhlee
2009-11-26 12:45 ` Tim Mazid
2009-11-12 14:57 ` rhlee
2009-11-12 15:14 ` Nicolas Sebrecht
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=20091111215727.GK27518@vidovic \
--to=nicolas.s.dev@gmx.fr \
--cc=git@vger.kernel.org \
--cc=richard@webdezign.co.uk \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).