Re: git push to a non-bare repository
- From
Junio C Hamano <junkio@cox.net>
- Date
- Mar 18, 2007, 19:47 UTC
- Message-ID
- <7vr6rml4fb.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <vpq648ye9w6.fsf@olympe.imag.fr>
Matthieu Moy <Matthieu.Moy@imag.fr> 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.