Note that there are some explanatory texts on larger screens.

plurals
  1. POGit workflow when you cant push or pull
    primarykey
    data
    text
    <p>This is a <a href="https://stackoverflow.com/questions/6217187/keeping-repositories-in-sync-without-being-able-to-push-and-pull-commits">recurring</a> question for me, but I'd like to reiterate.</p> <p>Quickly explain my situation: I am in an environment where I don't have a a git server, nor a shared partition or any common point among the coders. Don't have, will not have, can not have. Period.</p> <p>I'm trying to come up with a workflow solution, to even in that environment we manage keep our reps at reasonable sync.</p> <p>The solution I'm trying at the moment uses a discussion group to distribute patches, two main branches and with a seemingly short workflow, follows:</p> <ul> <li>The branches are <code>marster</code> and <code>yours</code></li> <li><code>master</code> is the sync branch, which will keep you up to date and track what other deves still don't have of your code.</li> <li><code>yours</code> will be your new master, and is where your final code should be. You do not work in <code>master</code>.</li> <li>everybody sends patches to the discussion list.</li> <li>I'm considering that <strong>very</strong> rarely two people will work in the same file.</li> </ul> <p>There are two main actions in the workflow:</p> <p><strong>Generate patches:</strong></p> <ol> <li>Got to <code>yours</code></li> <li>Generate patches from <code>master</code> (<code>git format-patch master</code>)</li> <li>Go to <code>master</code></li> <li>Merge <code>yours</code> into <code>master</code></li> <li><strong>></strong> Go to <code>yours</code>, continue working with <code>yours</code></li> </ol> <p><strong>Apply patches:</strong></p> <ol> <li>Go to <code>master</code> branch</li> <li>Apply received patches</li> <li>Go to <code>yours</code> branch</li> <li>Merge <code>master</code> into <code>yours</code></li> <li><strong>></strong> Continue working with <code>yours</code></li> </ol> <p>If I got it right, this should keep a <code>master</code> branch reasonably in sync with everyone else.</p> <p>Not that the <code>yours</code> branch is only to help in keeping track of what other people have or not.</p> <p>There are a few problems I'm trying to figure if will be too much hassle:</p> <ul> <li>Order of patches applied?</li> <li>How to avoid and detect when someone misses a patch?</li> <li>How much problem can be when someone misses a patch?</li> <li>Other problems this can generate I haven't even thought of?</li> </ul> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload