Skip to contentSkip to conversation

Question concerning merge behavior

DISCUSSION Defcon0 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

Defcon0

author
#0 lore raw

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.

#1 lore raw

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.