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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…