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

Who created a branch - reflog

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Mar 8, 2011, 14:38 UTC
Message-ID
<20110308143846.GV3609@genesis.frugalware.org>
Hi,

We have a repo where multiple users have push access, they access the repo via ssh. Now let's say one of the developers ("A") accidently create a branch named "foo" in the shared repo. Of course the tip of "foo" may not point to a commit authored by "A".

IIRC reflogs could be used in that case when the push is done via http, as the HTTP username is recorded in the reflog, so we can know who to blame.

Unfortunately - as far as I see - this is not true for ssh, there simply the author of the tip commit is used.

Have I missed something? Would it be possible to have the username of the user in the reflog, even when pushing via ssh?

Thanks.
Next: Shawn Pearce
Message 1 of 3 in “Who created a branch - reflog”
  1. Miklos VajnaMar 8, 2011
  2. Shawn PearceMar 8, 2011
  3. Miklos VajnaMar 8, 2011

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.