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

Re: Push to all repositories

From
Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Date
Dec 9, 2010, 13:36 UTC
Message-ID
<AANLkTik9CxVD9A-2QEyD_tZiyYoCOitfViWucGCudzh-@mail.gmail.com>
In-Reply-To
<1291898174244-5818757.post@n2.nabble.com>
On Thu, Dec 9, 2010 at 7:36 AM, Kevin Sheedy <kevinsheedy@gmail.com> wrote:
Show 9 quoted lines
>
> In summary, I think it would be cool if there was a programmatic way of
> saying:
> "Hey everybody, I've changed some code on branch x and I think you should
> have it"
>
> Everyone else would then have the choices:
> 1) Always accept, I trust you (but don't blow away my current work,
> obviously)

I think the closest thing would be a cron job that runs "git pull" every minute or so. A difference from dynamic views is that it would no longer update your work tree once your changes start conflicting with the upstream changes (in dynamic views, all unmodified files would be updated).

However, rather than trying to make Git behave just like ClearCase dynamic views (there are many other things to consider than automatic updates), I think you would be better off if you actually use ClearCase dynamic views instead.

> 2) Always ignore, I'll get it when I'm good and ready
This is of course the easy case; just run "git pull" manually.
/Martin
Previous: Nguyen Thai Ngoc DuyNext: Jonathan Nieder
Message 6 of 9 in “Push to all repositories”
  1. Kevin SheedyDec 8, 2010
  2. Jonathan NiederDec 8, 2010
  3. Kevin SheedyDec 8, 2010
  4. Kevin SheedyDec 9, 2010
  5. Nguyen Thai Ngoc DuyDec 9, 2010
  6. Martin von ZweigbergkDec 9, 2010
  7. Jonathan NiederDec 9, 2010
  8. Enrico WeigeltJan 2, 2011
  9. Enrico WeigeltDec 12, 2010

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.