From: Junio C Hamano Date: Mon, 09 May 2011 22:46:19 GMT Subject: Re: Separate default remotes for pulling and pushing Message-ID: <7vaaevo5l0.fsf@alter.siamese.dyndns.org> In-Reply-To: <20110509220459.GA3719@sigill.intra.peff.net> Jeff King writes: >> In a sense, this is what I do as well. As you mentioned, I push to "ko" >> to publish, but when I "fetch" (or "pull") from "origin", I get the public >> copy I have at kernel.org like everybody else, and I do fetch every time >> after I push to "ko" to get the updated preformatted HTML and man page >> branches. > > Interesting. Is your fetch from "ko" a no-op, or are you using it to > syncrhonize development between different machines? Preformatted html and man pages are made when I push the integrated source branches out, triggered from the post-update hook at kernel.org. I do not format them on my box. I say "git push ko", take a sip of tea, and after k.org finishes the asciidoc dance "git fetch ko" to get them all, before pushing remotes/ko/{maint,master,next,pu,todo,html,man} to secondary sites. > I think it is important to note that calling them both "origin" is > definitely the wrong thing. The proposal is instead that "git push" > without a remote would default to something besides "origin". For people > who publish multiple places, it might even make sense for it to be an > iterative push to each place. Either we add branch..pushremote or push.defaultremote then?