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

Multiple remote.<...>.fetch and .push patterns

From
ADAdr3nal D0S <adr3nald0s@gmail.com>
Date
Jun 30, 2008, 18:58 UTC
Message-ID
<308083c30806301158i1100c84dqe7f50daad417934c@mail.gmail.com>
How can I do something like what is shown in Everyday git using git-config?
$ cat .git/remotes/ko
URL: kernel.org:/pub/scm/git/git.git
Pull: master:refs/tags/ko-master
Pull: next:refs/tags/ko-next
Pull: maint:refs/tags/ko-maint
Push: master
Push: next
Push: +pu
Push: maint
I know I can do:
git config remote.ko.fetch refs/heads/*:refs/tags/ko-*
but that will get all KO heads.  And I have no clue about the push version.
Next: Jon Loeliger
Message 1 of 7 in “Multiple remote.<...>.fetch and .push patterns”
  1. Adr3nal D0SJun 30, 2008
  2. Jon LoeligerJun 30, 2008
  3. Adr3nal D0SJun 30, 2008
  4. Michael J GruberJul 1, 2008
  5. Junio C HamanoJul 1, 2008
  6. Michael J GruberJul 1, 2008
  7. Jakub NarebskiJul 1, 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.