git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Undelivered Mail Returned to Sender

From
APAlfred Perlstein <bright@mu.org>
Date
Feb 21, 2015, 21:18 UTC
Message-ID
<C6B113CE-FEEB-481D-ACDE-D239DB8E1AF0@mu.org>
In-Reply-To
<20150221210915.3734E341F916@elvis.mu.org>
On Feb 20, 2015, at 9:16 PM, Technext wrote:
Show 10 quoted lines
> Thanks Junio for the prompt reply! :) Yes, that's exactly how i would like
> things to be. I'll definitely try to push this thing and see if this flow
> can be implemented.
> 
> However, can you please guide me whether there's any way i could have
> figured out about the git reset command that the developer executed on his
> local? (my first query)
> 
> Also, am i right in thinking that a check cannot be implemented using hooks
> or any other similar way? (my second query)
We have this on our repo.git/config file:
[receive]
    denyDeletes = true
    denyNonFastForwards = true

This should prevent people from denyDeletes - deleting a branch denyNonFastForwards - force push/reset of a remote branch

-Alfred
Message 1 of 1 in “Re: Undelivered Mail Returned to Sender”
  1. Alfred PerlsteinFeb 21, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.