From: Junio C Hamano Date: Mon, 17 Jul 2023 21:09:20 GMT Subject: Re: receive.denyCurrentBranch=updateInstead won't update the repo Message-ID: In-Reply-To: "Adam \"Sinus\" SkawiƄski" writes: > needed. I made it output some lines and exit with code 1, so it should > abort after producing the output - and yet the pushes come through. Did the output come back to your client side? "git push -v" should show. If there is no need to update (i.e. after a successful push, you try to push the same thing), the hook would not even run, so you may need to rewind the "server" side while experimenting.