On Fri, Jan 30, 2009 at 11:17:49AM -0500, Jay Soffian wrote: > I wonder if it might be helpful to teach clone to setup a push line in > the cloned repo. i.e.: > > [remote "origin"] > url = ... > fetch = +refs/heads/*:refs/remotes/origin/* > push = refs/heads/*:refs/remotes/origin/* That refspec doesn't make sense, since the downstream is not the "origin" to the upstream repo. But I don't think this is a good solution; it is fundamentally changing the layout of pushed branches in the upstream repo, which is going to cause a lot of confusion. > This could be a configurable default behavior when cloning from a > non-bare repo (can that be determined?) and/or as a switch > (--satellite perhaps?). I don't think you can tell whether a repo you are cloning is bare. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html