From: Neal Kreitzinger <nkreitzinger@gmail.com>
To: Sitaram Chamarty <sitaramc@gmail.com>
Cc: Marc Weber <marco-oweber@gmx.de>, git <git@vger.kernel.org>
Subject: Re: recipe to use git for deployment
Date: Wed, 16 May 2012 15:08:00 -0500 [thread overview]
Message-ID: <4FB40920.6010106@gmail.com> (raw)
In-Reply-To: <CAMK1S_i0bsO0fp69Ae_75dySsN9r=z1+c2psEMm4urw+UpYGXw@mail.gmail.com>
On 5/5/2012 7:14 AM, Sitaram Chamarty wrote:
> On Sat, May 5, 2012 at 11:00 AM, Neal Kreitzinger
> <nkreitzinger@gmail.com> wrote:
>
>> Interestingly, git-archive was not intended for deployment, but it does
>> pretty good at it.
> Except it doesn't delete files that should be deleted (the way 'git
> checkout' does or rsync would if you gave it --delete).
>
Oh, yeah. Thats why I move everything to a backup directory before
untarring it. That also satisfies our pre-git practice of saving off
the old version before replacing it so we have a quick recovery point if
the new version turns out to be worse than the old one!
v/r,
neal
next prev parent reply other threads:[~2012-05-16 20:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-05 3:51 recipe to use git for deployment Neal Kreitzinger
2012-05-05 4:10 ` Marc Weber
2012-05-05 4:43 ` Neal Kreitzinger
2012-05-05 5:04 ` Marc Weber
2012-05-05 5:30 ` Neal Kreitzinger
2012-05-05 12:14 ` Sitaram Chamarty
2012-05-16 20:08 ` Neal Kreitzinger [this message]
2012-05-05 4:31 ` Junio C Hamano
2012-05-05 8:25 ` Ævar Arnfjörð Bjarmason
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=4FB40920.6010106@gmail.com \
--to=nkreitzinger@gmail.com \
--cc=git@vger.kernel.org \
--cc=marco-oweber@gmx.de \
--cc=sitaramc@gmail.com \
/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).