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

error: cannot lock ref 'refs/remotes/origin/*'

From
Nicolas Bock <nbock@lanl.gov>
Date
Jun 16, 2008, 16:53 UTC
Message-ID
<1213635227.17814.6.camel@localhost>
Hello list,
when running "git gc" I get the following error message as of late:

$ git gc error: cannot lock ref 'refs/remotes/origin/*' error: failed to run reflog

When I rsync the directory tree to another machine, I can run "git gc" without any error messages. What exactly does this error mean? Why would locking fail?

Thanks already,
nick
Next: Nicolas Bock
Message 1 of 9 in “error: cannot lock ref 'refs/remotes/origin/*'”
  1. Nicolas BockJun 16, 2008
  2. Nicolas BockJun 17, 2008
  3. Johannes SchindelinJun 17, 2008
  4. Nicolas BockJun 17, 2008
  5. Johan HerlandJun 17, 2008
  6. Nicolas BockJun 17, 2008
  7. Jakub NarebskiJun 17, 2008
  8. Nicolas BockJun 17, 2008
  9. Johannes SchindelinJun 17, 2008

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.