I'm getting pretty comfortable with git but I've hit something that puzzles me. We use a local mirror, here, because we have a slow line. In order to point at the mirror, I have the usual stuff in .gitconfig
.
The problem comes when I want to push. It appears that either I need an alias URL for the repo—not the one remapped in .gitconfig
—or I need to edit .gitconfig
to push to the real repo (not the mirror).
This really has to be a use pattern. How can I make the mirror seamless on pull and get it out of the way on push?