Adam Megacz <adam@xxxxxxxxxx> wrote: > > It seems that the message "warning: Updating the currently checked out > branch may cause confusion" is unnecessary when pushing to a bare > "myproject.git" repository (instead of a "myproject/.git" repository). > > Is this the case? > > If so, perhaps the warning should be omitted when the target is a bare > repository. That should already be the case. Did you create the bare repository by taking a copy of a non-bare's .git directory? Check your bare repository's config file and see if core.bare = false, if so set it to true to signal it really is bare. -- Shawn. -- 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