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

Re: keeping remote branches in sync

From
PHPeter Harris <git@peter.is-a-geek.org>
Date
Oct 9, 2008, 14:43 UTC
Message-ID
<eaa105840810090743pba41a98ocdf79b7c06d76e9e@mail.gmail.com>
In-Reply-To
<20081009141418.GF18241@morganstanley.com>
On Thu, Oct 9, 2008 at 10:14 AM, Kevin Green wrote:
Show 5 quoted lines
> After topic branches are merged to master, we do some cleanup by deleting them
> from the shared repo.
>
> One of the issues we have is that _my_ local repos remote branches aren't kept
> in sync with the shared repo.
...
> I'd like some comment on whether our workflow could use some improvement.
> Specifically, if there's a straightforward way to handle the issue above, that
> would be great.  I've been looking through the manual on git-fetch and
> git-pull and not seeing any options to do this.
Is "git remote prune" what you're looking for?
Peter Harris
Previous: Kevin GreenNext: Shawn O. Pearce
Message 2 of 5 in “keeping remote branches in sync”
  1. Kevin GreenOct 9, 2008
  2. Peter HarrisOct 9, 2008
  3. Shawn O. PearceOct 9, 2008
  4. Kevin GreenOct 9, 2008
  5. Shawn O. PearceOct 9, 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.