title: How can I push to one url and pull from another using one remote?
body: <p>I've create a clone of <a href="https://github.com/cavneb/airbrake-grails" rel="nofollow">this repository</a>. If I run the following command, I see that my local repo is configured to use my clone to fetch/pull, as expected.</p>
  
  <pre><code>$ git remote show origin
  * remote origin
    Fetch URL: https://github.com/domurtag/airbrake-grails.git
    Push  URL: https://github.com/domurtag/airbrake-grails.git
  </code></pre>
  
  <p>I would like my local repo to instead fetch from the master repo (the one I cloned from) and push to my clone. The first thing I did was add the master repo as a remote:</p>
  
  <pre><code>$ git remote add cavneb https://github.com/cavneb/airbrake-grails.git
  </code></pre>
  
  <p>If I again run <code>git remote show origin</code> I see the same output, so obviously I need to do something else to indicate that the <code>cavneb</code> repo should be used for fetching, but I'm not sure what this is.</p>
  
  <p>In case it's relevant, I've shown the contents of my <code>.git/config</code> below:</p>
  
  <pre><code>[core]
      repositoryformatversion = 0
      filemode = true
      logallrefupdates = true
  [remote "origin"]
      url = https://github.com/domurtag/airbrake-grails.git
      fetch = +refs/heads/*:refs/remotes/origin/*
  [branch "master"]
      remote = origin
      merge = refs/heads/master
  [remote "cavneb"]
      url = https://github.com/cavneb/airbrake-grails.git
      fetch = +refs/heads/*:refs/remotes/cavneb/*
  </code></pre>