From: Neal Kreitzinger Date: Wed, 16 May 2012 20:08:00 GMT Subject: Re: recipe to use git for deployment Message-ID: <4FB40920.6010106@gmail.com> In-Reply-To: On 5/5/2012 7:14 AM, Sitaram Chamarty wrote: > On Sat, May 5, 2012 at 11:00 AM, Neal Kreitzinger > 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