* Clarifications for merge workflows @ 2010-03-11 11:12 Markus Elfring 2010-03-11 12:08 ` Junio C Hamano 0 siblings, 1 reply; 3+ messages in thread From: Markus Elfring @ 2010-03-11 11:12 UTC (permalink / raw) To: git Hello, Some informations are available in the manual about distributed content management workflows. http://kernel.org/pub/software/scm/git/docs/gitworkflows.html#_merge_workflow I find that a few details are missing to achieve a better understanding for the merging of branches. Use case: A contributor pushes an update suggestion from the personal repository "ABC" to a topic branch in a public repository "SHARE" on a separate server. An integrator reviews the proposed changes. If they are accepted, the integrator will choose a repository where the merge should be performed next. - Log-in to the server and integrate the updates there. or - Fetch the remote topic branch into the integrator's own local repository "XYZ", merge there and push the result back to the server. Which ways do you recommend to select the storage location where a merge will be applied first? Regards, Markus ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Clarifications for merge workflows 2010-03-11 11:12 Clarifications for merge workflows Markus Elfring @ 2010-03-11 12:08 ` Junio C Hamano 2010-03-11 13:02 ` Markus Elfring 0 siblings, 1 reply; 3+ messages in thread From: Junio C Hamano @ 2010-03-11 12:08 UTC (permalink / raw) To: Markus Elfring; +Cc: git Markus Elfring <Markus.Elfring@web.de> writes: > - Log-in to the server and integrate the updates there. > or > - Fetch the remote topic branch into the integrator's own local repository > "XYZ", merge there and push the result back to the server. > > Which ways do you recommend to select the storage location where a merge will be > applied first? Personally, I would find the latter a more natural (and perhaps the only natural) solution to me. Being distributed is just that. When I do my work, whether it is developing new things myself, reviewing others' patches or reviewing others' pull requests and accepting them (either "am", or "pull"), everything is done "locally" at the most convenient place for "me", and that convenient place happens to be where I primarily do my work. The tools, test procedures, and everything necessary for my work is already there. And then the procedure to publish the result out, whether it is what I did myself, or what I helped to integrate into my history from others, is the same. I push the result out from that "local" place to the "public" one. Of course, if you are always working on that "server", the fact that you are always working there makes it the most convenient place to do all of your work for you. But even in that case, you would not want to publish a half-integrated state out to the public only to confuse people, so the actual integration work may happen phisically on the "server" machine, but most likely you would be working in a repository on that machine that is separate from the one you let others to pull from, i.e. your public repository. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Clarifications for merge workflows 2010-03-11 12:08 ` Junio C Hamano @ 2010-03-11 13:02 ` Markus Elfring 0 siblings, 0 replies; 3+ messages in thread From: Markus Elfring @ 2010-03-11 13:02 UTC (permalink / raw) To: Junio C Hamano; +Cc: git Thanks for your explanation. > And then the procedure to publish the result out, whether it is what I did > myself, or what I helped to integrate into my history from others, is the > same. I push the result out from that "local" place to the "public" one. Does any observable difference exist if the data synchronisation would be performed in the other direction? > Of course, if you are always working on that "server", the fact that you > are always working there makes it the most convenient place to do all of > your work for you. I guess that it matters a bit if the published repository "SHARE" is the leading and authoritative storage location. Regards, Markus ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-11 13:02 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-03-11 11:12 Clarifications for merge workflows Markus Elfring 2010-03-11 12:08 ` Junio C Hamano 2010-03-11 13:02 ` Markus Elfring
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).