Howto forward workdir to HEAD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux