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

Re: cogito remote branch

From
MMichaelTiloDressel@t-online.de <michaeltilodressel@t-online.de>
Date
Nov 12, 2007, 10:47 UTC
Message-ID
<1IrWpc-0kFExM0@fwd28.aul.t-online.de>
In-Reply-To
<Pine.LNX.4.64.0711120954460.4362@racer.site>
Johannes Schindelin wrote:
>> A push is needed somewhere in order to prevent every remote to be
pushed 
>> by default, right?
>You mean a "push" config variable?  No.  I think I mentioned in my
first 
>reply that
>	git push  <remote> <branch>...
>works quite wonderfully.

I mean a push = .. line in the [remote <name>] block. And if there is such a line than git-push without arguments will push only the current branch. For me that is nice, because if I forgot to give an argument to git-push it will not push other branches.

If there is no such line all the remotes (that don't have a push line?) get pushed.

Cheers, Michael

Previous: Johannes Schindelin
Message 5 of 5 in “(unknown)”
  1. Michael DresselNov 11, 2007
  2. Johannes SchindelinNov 11, 2007
  3. MichaelTiloDressel@t-online.deNov 12, 2007
  4. Johannes SchindelinNov 12, 2007
  5. MichaelTiloDressel@t-online.deNov 12, 2007

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.