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

Re: git push from client is not updating files on server

From
HHHolger Hellmuth <hellmuth@ira.uka.de>
Date
Mar 7, 2012, 11:04 UTC
Message-ID
<4F5740AD.9080306@ira.uka.de>
In-Reply-To
<4F56C946.8080601@gmail.com>
On 07.03.2012 03:34, Neal Kreitzinger wrote:
Show 7 quoted lines
> Create a new non-bare clone of your bare repo. Then do git-pull on the
> new non-bare after the bare gets updates (someone does git push to it)
> and you want to test those new commits. The worktree of the new non-bare
> clone can be the document root of your testing virtual host, if that's
> what you're doing. That way, you know that no one else is messing with
> new non-bare (test repo) like doing development in it and messing up
> your tests.

To expand on Neals method, if you do git fetch (periodically in a cron job for example) on the cloned non-bare, 'git log HEAD..origin/HEAD' will have output only if the non-bare has new commits.

Previous: Neal KreitzingerNext: Jerome Yanga
Message 13 of 15 in “git push from client is not updating files on server”
  1. Jerome YangaMar 6, 2012
  2. Ben TebulinMar 6, 2012
  3. Junio C HamanoMar 6, 2012
  4. Neal KreitzingerMar 6, 2012
  5. Neal KreitzingerMar 6, 2012
  6. Junio C HamanoMar 6, 2012
  7. Jerome YangaMar 6, 2012
  8. Neal KreitzingerMar 6, 2012
  9. Jerome YangaMar 7, 2012
  10. Neal KreitzingerMar 7, 2012
  11. Junio C HamanoMar 7, 2012
  12. Neal KreitzingerMar 7, 2012
  13. Holger HellmuthMar 7, 2012
  14. Jerome YangaMar 7, 2012
  15. Jerome YangaMar 30, 2012

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.