From: Junio C Hamano Date: Wed, 20 Sep 2006 23:19:02 GMT Subject: Re: [PATCH] add receive.denyNonFastforwards config variable Message-ID: <7vzmcudt3t.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: > If receive.denyNonFastforwards is set to true, git-receive-pack will deny > non fast-forwards, i.e. forced updates. Most notably, a push to a repository > which has that flag set will fail. > > As a first user, 'git-init-db --shared' sets this flag, since in a shared > setup, you are most unlikely to want forced pushes to succeed. > > Signed-off-by: Johannes Schindelin Looks good. Care to do a handful more tasks before we forget? Documentation/git-init-db.txt Documentation/config.txt Documentation/git-receive-pack.txt t/t5400-send-pack.sh or a new test t/t5401-push-into-shared-repo.sh