title: Updating A Central Repository of Curriculum Exercises
body: <p>I'm hosting some R/RStudio training sessions and I want to make my directory of programming exercises available to all users.  However, I want to be able to update the exercises as we go along, and have the users be able to access those updated changes.</p>
  <p>I'm seeking guidance in setting this up.  Is <code>git</code> even the right solution for this?  I don't expect my students to be comfortable with <code>git</code> other than clicking the <code>Pull</code> button when I announce updates to the curriculum.</p>
  <p>On the one hand, I'd like to main read-only repository and have students copy files to a working directory.  This is less than ideal, because there is more room for error.</p>
  <p>On the other hand, if possible, I'd like to allow students to edit the documents directly in the main repository, and have the <code>pull</code> operation merge the updated questions/solutions into the work they've already done.</p>
  <p>I've tried testing <code>git pull --no-commit</code> but that simply throws an error when the main file differs from the local file.</p>
  <p>I've tried testing <code>git stash</code>; <code>git pull</code>; <code>git stash pop</code>, but the output stacks old on top of new, without merging in line.  Which, again, is less than ideal.</p>