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

Re: Feature Proposal: Track all branches from a given remote

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Oct 26, 2014, 11:18 UTC
Message-ID
<87a94j3wqe.fsf@igel.home>
In-Reply-To
<CAEFop40qOPaq-6QrvNR0_MsgTv4K0jDNqb+m=BUZzFSXQ35YSQ@mail.gmail.com>
Scott Johnson <jaywir3@gmail.com> writes:
Show 5 quoted lines
> Do you think there would be any interest in a patch that added this as
> a simple command line option, though? I guess the idea of this patch
> then would simply change this line in the .git/config file for the
> length of the operation (and specified remote), execute the git pull
> command, and then reset the configuration after the command finished.

There is no need to modify the configuration, you can pass the fetch spec on the command line.

Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Scott Johnson
Message 4 of 4 in “Feature Proposal: Track all branches from a given remote”
  1. Scott JohnsonOct 25, 2014
  2. brian m. carlsonOct 26, 2014
  3. Scott JohnsonOct 26, 2014
  4. Andreas SchwabOct 26, 2014

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.