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

Re: configure git to not push all remote tracking branches

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Dec 9, 2011, 15:03 UTC
Message-ID
<CALkWK0m0f-AGLwKqiKx9Aozwr5oN6FrH5ehG03mmEpB7Di8PWQ@mail.gmail.com>
In-Reply-To
<CAPD5EOjsu-9=CCUJut_bGqv=asp8FeGqL2GhKewgw3SQsArk_A@mail.gmail.com>
Hi Justin,
Justin Johnson wrote:
> git push alternateorigin
> should not do anything, but
> git push alternateorigin mybranch
> should push just mybranch.
$ git config push.default nothing
Note: push.default defaults to "matching"
Cheers.
-- Ram
Previous: Justin JohnsonNext: Justin Johnson
Message 2 of 3 in “configure git to not push all remote tracking branches”
  1. Justin JohnsonDec 9, 2011
  2. Ramkumar RamachandraDec 9, 2011
  3. Justin JohnsonDec 9, 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.