All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jared Hance <jaredhance@gmail.com>
To: git@vger.kernel.org
Subject: Re: coding process
Date: Tue, 24 Aug 2010 13:28:00 -0400	[thread overview]
Message-ID: <20100824172800.GA4347@localhost.localdomain> (raw)
In-Reply-To: <AANLkTi=Aei+-nbNFqY4CNjx5E+nNaOSp7-j+ruuK4kMN@mail.gmail.com>

On Tue, Aug 24, 2010 at 09:31:21AM -0600, Wes James wrote:
> I am working with git and I'm wondering if coding like the following
> is a good way to manage code:
> 
> create code then commit
> when a good set up code is ready push to master
> create a branch
> create code then commit
> when code is good, merge and push to master
> go back to create branch
> 
> Anyone else have a procedure they go through when managing code?
> 
> thx,
> 
> -wes

>From what you say, it sounds like you are using topic branches, which
are always a good way to manage code. You might want to consider using
release branches (like how git.git has "master", "next", and "maint").

I'm not sure what you mean by "push to master". You don't push to a
branch. You push to a repository. I guess you mean pushing to the
"official" or "blessed" repository?

Also, sending patches to an email before merging to master is a
good idea to get code review.

  reply	other threads:[~2010-08-24 17:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-24 15:31 coding process Wes James
2010-08-24 17:28 ` Jared Hance [this message]
2010-08-24 17:53   ` Wes James

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=20100824172800.GA4347@localhost.localdomain \
    --to=jaredhance@gmail.com \
    --cc=git@vger.kernel.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.
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.