# Question concerning merge behavior

2 messages from 2012-07-26 to 2012-07-26. Participants: Defcon0, Greg Troxel.
Thread: https://gitlist.dev/t/31105

## Defcon0, 2012-07-26 11:30

Subject: Question concerning merge behavior
Message-ID: <1343302234333-7563780.post@n2.nabble.com>
URL: https://gitlist.dev/e/1343302234333-7563780.post%40n2.nabble.com

```
Hello,

I'm quite new to git and have the following situation:

I have a master- and a productive-branch. The productive-branch lives on a
server (productive environment) and the master is for the devs to play
around ;-) Hot fixes and patches are primarily done in the productive
branch. New features are done in the master branch.

Now the question is, let's say, I did a stability fix in the
productive-branch and want that one also in the master branch (which
contains several new features). Will I have conflicts then with files
modified in the master- but not in productive-branch? Or will only the
modified files from the productive branch be compared with the master branch
(and not the modified ones in master)?

And do you think my branching in all makes sense (master for features,
branch for production environment)?

Big thanks in advance for any help!!

Bye Defcon0



--
View this message in context: http://git.661346.n2.nabble.com/Question-concerning-merge-behavior-tp7563780.html
Sent from the git mailing list archive at Nabble.com.

```

## Greg Troxel, 2012-07-26 12:21

Subject: Re: Question concerning merge behavior
Message-ID: <rmiipdapvax.fsf@fnord.ir.bbn.com>
URL: https://gitlist.dev/e/rmiipdapvax.fsf%40fnord.ir.bbn.com
In-Reply-To: <1343302234333-7563780.post@n2.nabble.com>

```

I suggest that you read (all of)

  http://www.git-scm.com/book

and then perhaps ask a question based on more understanding of the merge
model and ancestry tracking.   The short answer is that git will work
quite well in terms of conflict management if your development practices
are sane.




```
