From: Junio C Hamano Date: Sun, 18 Mar 2007 19:47:36 GMT Subject: Re: git push to a non-bare repository Message-ID: <7vr6rml4fb.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Matthieu Moy writes: > I don't understand the design choice here: git had two options to > avoid this scenario: Actually, there are no such "design choices". That's entirely up to the repository owners to arrange post-update hook, to allow you to do anything you want. The default is not to encourage people (who do not know what they are doing anyway) to push into non-bare repository.