Re: [git-users] Dozens of branches a good idea?

2015-04-14 Thread Magnus Therning
On 14 April 2015 at 17:33, leam hall  wrote:
> Working on a project that's importing code from an older project. There are
> 2-3 dozen small bits and we're trying to add some functionality and clean up
> the code in each small bit. Would it make sense to make each small bit it's
> own branch? The theory is that as each branch becomes workable it gets
> merged into master. That way no user pulls code that doesn't work and gets a
> bad impression of the project.

That sound like a perfectly workable strategy.  The only thing to
decide is if you are going to merge the branches before push, or
rebase them.

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Dozens of branches a good idea?

2015-04-14 Thread Yingshou Guo
At least not a bad idea. After all, a new branch in git only add one more
file under .git/refs directory in which there is only one line recording
the commit hash value your branch is pointing to. IMO,  you won't be any
problems with thousands of branches exist in your project.

On Tue, Apr 14, 2015 at 11:33 PM, leam hall  wrote:

> Working on a project that's importing code from an older project. There
> are 2-3 dozen small bits and we're trying to add some functionality and
> clean up the code in each small bit. Would it make sense to make each small
> bit it's own branch? The theory is that as each branch becomes workable it
> gets merged into master. That way no user pulls code that doesn't work and
> gets a bad impression of the project.
>
> Thoughts?
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.