Diferent default remote for git pull and git push

Posted by svick on Stack Overflow See other posts from Stack Overflow or by svick
Published on 2010-05-26T21:12:01Z Indexed on 2010/05/26 21:31 UTC
Read the original article Hit count: 217

Filed under:

Is there a way to set up a git repository, so that git pull defaults to one remote and git push defaults to another? I know I can set both by changing the value of the remote variable in branch section of .git/config, but how to do it for each direction separately?

© Stack Overflow or respective owner

Related posts about git