Re: receive.denyNonNonFastForwards not denying force update
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 20, 2012, 17:05 UTC
- Message-ID
- <7vzk5pjxy3.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAHgXSooFj2PJtcOWqsVNHUzMBQnH0cYzPjfs1CkzVuufwRVrog@mail.gmail.com>
John Arthorne <arthorne.eclipse@gmail.com> writes:
> For all the details see this bugzilla, particularly comment #59 where we > finally narrowed this down: > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=343150
What does "at the system level" in your "does *not* work at the system level." exactly mean?
A configuration variable in the repository configuration take precedence over user preference $HOME/.gitconfig which in turn take precedence over system wide default /etc/gitconfig (or whereever you or your distro decided to place it). In other words, if you have "[receive] denyNonFastForwards" in the system wide default, you can say "[receive] denyNonFastForwards = false" in one particular repository to allow it for that repository.