On Thu, Jan 29, 2009 at 7:34 PM, Johannes Schindelin <johannes.schindelin@xxxxxx> wrote: > Many, many users set up non-bare repositories on their server, and are > confused that the working directory is not updated. This comes up on the list from time-to-time and is even in the FAQ. It has even been suggested that HEAD be detached when pushing into a non-bare repository, but I am not suggesting that again. 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/* 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?). j. -- 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