From: Thomas Koch <thomas@koch.ro>
To: Git Mailing List <git@vger.kernel.org>
Subject: Howto forward workdir to HEAD
Date: Sat, 6 Sep 2008 23:32:39 +0200 [thread overview]
Message-ID: <200809062332.39147.thomas@koch.ro> (raw)
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 reply other threads:[~2008-09-07 6:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-06 21:32 Thomas Koch [this message]
2008-09-07 6:58 ` Howto forward workdir to HEAD Junio C Hamano
2008-09-07 7:05 ` Tarmigan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200809062332.39147.thomas@koch.ro \
--to=thomas@koch.ro \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).