title: Any way to get around cloning a git submodule?
body: <p>I work on an open source project.  We keep our production config files in a separate git repository available only to a few members of our team.  This repo is a submodule of our larger project and it allows people to grab and compile the project without seeing our prod creds.</p>
  
  <p>The problem is that Hudson tries to pull down the submodule and the Hudson user doesn't have pull permissions on that repo.  </p>
  
  <pre><code>hudson.plugins.git.GitException: Error performing command: git submodule update
  Command "git submodule update" returned status code 1: Initialized empty Git repository in &lt;http://athenadev.fracturedatlas.org:5904/job/ATHENA/ws/assembly/.git/&gt;
  ERROR: Permission to fracturedatlas/assembly.git denied to fracturedatlas/artful.ly.
  fatal: The remote end hung up unexpectedly
  Clone of 'git@github.com:fracturedatlas/assembly.git' into submodule path 'assembly' failed
  
         at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:691)
  </code></pre>
  
  <p><strong>Is there a good "git" way around this or are we going to need to re-think our strategy for keeping production credentials away from the evildoers?</strong></p>