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

Howto forward workdir to HEAD

From
TKThomas Koch <thomas@koch.ro>
Date
Sep 6, 2008, 21:32 UTC
Message-ID
<200809062332.39147.thomas@koch.ro>
Hi,

I'm trying to setup an intranet Webapp using GIT for maintanance and backup. First I created a git repo on my working machine and imported the webapp, made some changes.

Then I created a normal, non-bare repo at the server and pushed from my local repo into the server repo, checked out branch "stable" and everything is fine.

Now I made a local change and pushed again, but the servers workdir is not automatically forwarded to the pushed state. How do I forward it?

Can I define a Hook that automatically forwards the workdir after a push, but only if the workdir is clean?

What do you think of this method to deploy a webapp?
Best regards,
-- 
Thomas Koch, Software Developer
http://www.koch.ro
Next: Junio C Hamano
Message 1 of 3 in “Howto forward workdir to HEAD”
  1. Thomas KochSep 6, 2008
  2. Junio C HamanoSep 7, 2008
  3. TarmiganSep 7, 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.