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

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

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 17, 2008, 19:09 UTC
Message-ID
<m3fxrbop4g.fsf@localhost.localdomain>
In-Reply-To
<1213717788.13390.2.camel@localhost>
Nicolas Bock <nbock@lanl.gov> writes:
Show 5 quoted lines
> I guess I don't understand refs. I figured that since I have
> 
> remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
> 
> set, I should have a ref refs/remotes/origin/* as well.

The above is _globbing_ refspec, it means that it maps "refs/heads/<name>" branch in remote repository to "refs/remotes/origin/<name>" remote-tracking branch in local repository.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Nicolas BockNext: Nicolas Bock
Message 7 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.