# How to create branches above master

3 messages from 2010-08-04 to 2010-08-04. Participants: Bharani Prasad, Ævar Arnfjörð Bjarmason, Jared Hance.
Thread: https://gitlist.dev/t/24627

## Bharani Prasad, 2010-08-04 07:22

Subject: How to create branches above master
Message-ID: <29342864.post@talk.nabble.com>
URL: https://gitlist.dev/e/29342864.post%40talk.nabble.com

```

Hi,

I am using git-repository along with gerrit server for code review, I want
to create branches called "Integration" branch & "Release" branch 

I got different projects which I need to integrate in "integrate" branch and
give it to testing and once the bugs are fixed it should go to "release"
branch. 

Currently we are using master and private branches...

Please do help me with this issue, as it is critical...

And also can you suggest me what can I use for Continuous build system in
Linux Fedora  

-- 
View this message in context: http://old.nabble.com/How-to-create-branches-above-master-tp29342864p29342864.html
Sent from the git mailing list archive at Nabble.com.

```

## Ævar Arnfjörð Bjarmason, 2010-08-04 08:07

Subject: Re: How to create branches above master
Message-ID: <AANLkTik-qw3bFHWLwMnqJuzgu=HHSRiiVRBW2nfjRTy3@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTik-qw3bFHWLwMnqJuzgu%3DHHSRiiVRBW2nfjRTy3%40mail.gmail.com
In-Reply-To: <29342864.post@talk.nabble.com>

```
On Wed, Aug 4, 2010 at 07:22, Bharani Prasad <bharaniprasadvs@gmail.com> wrote:
> I am using git-repository along with gerrit server for code review, I want
> to create branches called "Integration" branch & "Release" branch

What's stopping you? See git-checkout(1) for how to create branches.

> I got different projects which I need to integrate in "integrate" branch and
> give it to testing and once the bugs are fixed it should go to "release"
> branch.

See git-merge(1) et al for how to merge branches.

> Please do help me with this issue, as it is critical...

Please ask more specific questions if you'd like useful answers.

> And also can you suggest me what can I use for Continuous build system in
> Linux Fedora

Buildbot? Any of the intersection between Google's results for
"continuous integration" and "git". They're all good.

```

## Jared Hance, 2010-08-04 12:04

Subject: Re: How to create branches above master
Message-ID: <20100804120421.GA2228@localhost.localdomain>
URL: https://gitlist.dev/e/20100804120421.GA2228%40localhost.localdomain
In-Reply-To: <AANLkTik-qw3bFHWLwMnqJuzgu=HHSRiiVRBW2nfjRTy3@mail.gmail.com>

```
To Bharani: It sounds like you are using one repository for
multiple projects. Git doesn't handle this use case very well.

On Wed, Aug 04, 2010 at 08:07:56AM +0000, Ævar Arnfjörð Bjarmason wrote:
> > I got different projects which I need to integrate in "integrate" branch and
> > give it to testing and once the bugs are fixed it should go to "release"
> > branch.
> 
> See git-merge(1) et al for how to merge branches.

I think he might need git-cherrypick for this use-case since you don't
want to merge all of integration into release.

```
