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

Per-branch receive.denyNonFastForwards?

From
Sskillzero@gmail.com <skillzero@gmail.com>
Date
Jun 8, 2009, 05:20 UTC
Message-ID
<2729632a0906072220n4dff5d39vaa863401c136c3c5@mail.gmail.com>

Is there a way to deny non-fast forward pushes to only certain branches? I'd like for people to be able to force push to their own branches on the server, but for the master branch (and maybe a couple other important branches), I want to prevent it. I basically want a per-branch version of receive.denyNonFastForwards. Is there a way to do this?

Next: Michael J Gruber
Message 1 of 2 in “Per-branch receive.denyNonFastForwards?”
  1. skillzero@gmail.comJun 8, 2009
  2. Michael J GruberJun 8, 2009

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.